Made the change in rc.shutdown you suggested. But if it's coming from some mystery source, it will probably get overwritten eventually.
Searching with dpkg shows no results for rc.shutdown; there isn't really any third party system software in there (as far as I know), and nothing I have compiled goes in /etc , so it is a bit of a mystery. No hints from the file itself:
Searching with dpkg shows no results for rc.shutdown; there isn't really any third party system software in there (as far as I know), and nothing I have compiled goes in /etc , so it is a bit of a mystery. No hints from the file itself:
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: rc.local
# Required-Start: $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO
PATH=/sbin:/usr/sbin:/bin:/usr/bin
. /lib/init/vars.sh
. /lib/lsb/init-functions
do_start() {
if [ -x /etc/rc.shutdown ]; then
[ "$VERBOSE" != no ] && log_begin_msg "Running local shutdown scripts (/etc/rc.shutdown)"
/etc/rc.shutdown
ES=$?
[ "$VERBOSE" != no ] && log_end_msg $ES
return $ES
fi
}
case "$1" in
start)
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac



Comment