You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
245 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2009-2012 OpenWrt.org
  3. START=60
  4. start() {
  5. /usr/bin/lcdgrilo &
  6. echo $! > /var/run/lcdgrilo.pid
  7. }
  8. stop() {
  9. if [ ! -f /var/run/lcdgrilo.pid ]; then
  10. return
  11. fi
  12. /bin/kill `cat /var/run/lcdgrilo.pid`
  13. }