1 2 3 4 5 6 7 8
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions PID=`pidof -o %PPID /usr/sbin/LCDd` stat_busy "Starting LCDd daemon" [ -z "$PID" ] && exec /usr/sbin/LCDd -f -c /etc/LCDd.conf