lcdgrilo.init 245 B

12345678910111213141516
  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. }