freebsd-ports/sysutils/lcdproc/files/LCDd.sh.sample
Edwin Groothuis 7a98851af1 LCDd daemon from sysutils/lcdproc starts in the foreground
The LCDd.sh.sample start script from the LCDproc-0.4.3_2
	ports starts the LCDd process that's also part of the port
	in the foreground, thereby blocking the system startup.

PR:		ports/54092
Submitted by:	Christian Ullrich <chris@chrullrich.de>
2003-09-29 23:41:15 +00:00

18 lines
246 B
Bash

#!/bin/sh
case "$1" in
start)
%%PREFIX%%/sbin/LCDd -c %%PREFIX%%/etc/LCDd.conf &
echo -n " LCDd"
;;
stop)
killall LCDd
echo -n " LDCd"
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac