lcdgrilo: add new package

Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
W. Michael Petullo
2015-10-18 22:22:08 -04:00
parent 59fcc276d5
commit be526f6f0e
2 changed files with 66 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2009-2012 OpenWrt.org
START=60
start() {
/usr/bin/lcdgrilo &
echo $! > /var/run/lcdgrilo.pid
}
stop() {
if [ ! -f /var/run/lcdgrilo.pid ]; then
return
fi
/bin/kill `cat /var/run/lcdgrilo.pid`
}