diff options
Diffstat (limited to 't/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-local.init')
-rw-r--r-- | t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-local.init | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-local.init b/t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-local.init new file mode 100644 index 0000000..2f7049b --- /dev/null +++ b/t/recipes/checks/init-d/init.d-lsb-headers/build-spec/debian/init.d-lsb-headers-local.init @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +### BEGIN INIT INFO +# Provides: init.d-lsb-headers-local +# Required-Start: +# Required-Stop: $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Do nothing at all +# Description: The short description pretty much covers it. +### END INIT INFO + +exec >/var/log/foo.log + +. /lib/lsb/init-functions + +case "$1" in + start|stop|force-reload|restart|status|*) + echo hello world! + ;; +esac |