X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=etc%2Finit.d%2Fgrml-autoconfig.strace;h=6825727697a2c8fb2494bcad0987795083bbbc74;hp=fbf4e7e956378b892bd6a383335a013355576667;hb=037fd7068c07a73a81bb0cb11e67347ab6d5ec48;hpb=fb47c847262014f0f1ba111013f027f3fa61d3d6 diff --git a/etc/init.d/grml-autoconfig.strace b/etc/init.d/grml-autoconfig.strace index fbf4e7e..6825727 100755 --- a/etc/init.d/grml-autoconfig.strace +++ b/etc/init.d/grml-autoconfig.strace @@ -9,13 +9,30 @@ # http://wiki.debian.org/LSBInitScripts => ### BEGIN INIT INFO # Provides: grml-autoconfig -# Required-Start: -# Required-Stop: +# Required-Start: $remote_fs +# Required-Stop: $remote_fs # 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 #################################################################