[leaf-commits] src/bering-uclibc4/source/etc/init.d local, NONE, 1.1 sysklogd, 1.1, NONE
Andrew <[email protected]> Mon, 08 Nov 2010 11:48:15 +0000
| Newsgroups | gmane.linux.leaf.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/leaf/src/bering-uclibc4/source/etc/init.d
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv7762/init.d
Added Files:
local
Removed Files:
sysklogd
Log Message:
Added local/start and local.stop to run user-defined commands during startup/shutdown
--- sysklogd DELETED ---
--- NEW FILE: local ---
#!/bin/sh
#
# Run user-defined commands at the end of boot process
#
RCDLINKS="2,S90 3,S90 6,K10"
case "$1" in
start)
echo -n "Runnig all from local.start... "
. /etc/default/local.start
echo "Done."
;;
stop)
echo -n "Running all from local.stop... "
. /etc/default/local.stop
echo "Done."
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
exit 0
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev