From: Heiko Z. <smi...@us...> - 2015-12-29 17:58:04
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv19818/config/etc/init.d Modified Files: post_init.local Log Message: make sure we allow .local scripts in insserv corrections to init script Index: post_init.local =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/post_init.local,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- post_init.local 29 Dec 2015 17:24:14 -0000 1.1 +++ post_init.local 29 Dec 2015 17:58:02 -0000 1.2 @@ -8,14 +8,39 @@ # ### BEGIN INIT INFO -# Provides: beep +# Provides: post_init.local # Required-Start: $last grsecurity # Required-Stop: # Default-Start: # Default-Stop: -# Description: starts beep +# Description: starts post_init.local ### END INIT INFO +# settings +source /etc/sysconfig/config + # Script with local commands to be executed after all the init scripts complete # # Here you can add things like updating spam signatures or whatever else you might need after everything else is up + +# source function library +source /etc/init.d/functions + +case "$1" in + start) + # put your actions you want to execute during startup here + ;; + stop) + # put your actions you want to execute during shutdown here + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac + |