#!/bin/sh # # script with local commands to be executed from init on system startup # Here you should add things, that should happen directly after booting # before we're going to the first run level. # source this from /etc/init.d/boot.local # # This script is run by boot.local-rc, but insserv complains without the # following lines: ### BEGIN INIT INFO # Provides: boot.local-rc-3clean # Required-Start: # Should-Start: # Required-Stop: # Should-Stop: # Default-Start: # Default-Stop: ### END INIT INFO # # Volker Kuhlmann # ### Clean temp dirs. # Only needed for booting with systemd. sysvinit does this already. # VK 06 Feb 2012 if [ -x /etc/init.d/boot.cleanup ]; then SYSTEMD_NO_WRAP=1 # tell systemd to go away export SYSTEMD_NO_WRAP /etc/init.d/boot.cleanup "$@" fi