X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=etc%2Finit.d%2Fgrml-autoconfig.strace;h=84a5acb0426a148954c30fb171212d2969f078ed;hp=fbf4e7e956378b892bd6a383335a013355576667;hb=125c37336b5ace85eceffb05e45ce858c12047cd;hpb=b698c6e78f24965b6611f1528e0f8a79f4c147d9 diff --git a/etc/init.d/grml-autoconfig.strace b/etc/init.d/grml-autoconfig.strace index fbf4e7e..84a5acb 100755 --- a/etc/init.d/grml-autoconfig.strace +++ b/etc/init.d/grml-autoconfig.strace @@ -16,6 +16,23 @@ # 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 #################################################################