X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=etc%2Finit.d%2Fgrml-autoconfig.strace;h=84a5acb0426a148954c30fb171212d2969f078ed;hp=3b1a0d2d929a857ddf2d3c1a9fb27821271717ae;hb=125c37336b5ace85eceffb05e45ce858c12047cd;hpb=efd6786e49003dac27e4ff9f038a1e134ce43cca diff --git a/etc/init.d/grml-autoconfig.strace b/etc/init.d/grml-autoconfig.strace index 3b1a0d2..84a5acb 100755 --- a/etc/init.d/grml-autoconfig.strace +++ b/etc/init.d/grml-autoconfig.strace @@ -4,9 +4,35 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Thu Nov 03 17:03:03 CET 2005 [mika] ################################################################################ +# http://wiki.debian.org/LSBInitScripts => +### BEGIN INIT INFO +# Provides: grml-autoconfig +# Required-Start: +# Required-Stop: +# Should-Start: udev +# Default-Start: S 2 3 4 5 +# Default-Stop: +### END INIT INFO + +# {{{ placeholder functions for start/restart/reload/stop +[[ $1 == "start" ]] && true + +if [[ $1 == "restart" ]] ; then + echo "$0 restart - empty placeholder. Doing nothing but running." +fi + +if [[ $1 == "force-reload" ]] ; then + echo "$0 force-reload - empty placeholder. Doing nothing but running." +fi + +if [[ $1 == "stop" ]] ; then + echo "$0 stop - empty placeholder. Doing nothing but exiting." + exit 1 +fi +# }}} + /usr/bin/strace -f -eopen,stat64,execve -o /etc/grml/strace.autoconfig /etc/init.d/grml-autoconfig "$*" & ## END OF FILE #################################################################