Remove spurious laptop-detect dependency
[grml-autoconfig.git] / etc / init.d / grml-autoconfig.strace
1 #!/bin/sh
2 # Filename:      grml-autoconfig.strace
3 # Purpose:       strace grml-autoconfig for use with mksquashfs/mkisos sort option
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 ################################################################################
8
9 # http://wiki.debian.org/LSBInitScripts =>
10 ### BEGIN INIT INFO
11 # Provides:          grml-autoconfig
12 # Required-Start:    $remote_fs
13 # Required-Stop:     $remote_fs
14 # Should-Start:      udev
15 # Default-Start:     S 2 3 4 5
16 # Default-Stop:
17 ### END INIT INFO
18
19 # {{{ placeholder functions for start/restart/reload/stop
20 [[ $1 == "start" ]] && true
21
22 if [[ $1 == "restart" ]] ; then
23   echo "$0 restart - empty placeholder. Doing nothing but running."
24 fi
25
26 if [[ $1 == "force-reload" ]] ; then
27   echo "$0 force-reload - empty placeholder. Doing nothing but running."
28 fi
29
30 if [[ $1 == "stop" ]] ; then
31   echo "$0 stop - empty placeholder. Doing nothing but exiting."
32   exit 1
33 fi
34 # }}}
35
36 /usr/bin/strace -f -eopen,stat64,execve -o /etc/grml/strace.autoconfig /etc/init.d/grml-autoconfig "$*" &
37
38 ## END OF FILE #################################################################