#!/bin/sh # Filename: grml-autoconfig.strace # Purpose: strace grml-autoconfig for use with mksquashfs/mkisos sort option # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. ################################################################################ # http://wiki.debian.org/LSBInitScripts => ### BEGIN INIT INFO # Provides: grml-autoconfig # 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 #################################################################