packages/multimedia/lcdgrilo/files/lcdgrilo.init
W. Michael Petullo be526f6f0e lcdgrilo: add new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-10-18 22:22:08 -04:00

16 lines
245 B
Bash

#!/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`
}