When shutting down my wheezy installation, it stops after rsyslog: syslogd.
Mister Google told me it may have to do with NTFS network mounts and indeed, if I ran umount /mnt/Jobe prior to the shutdown process, it finishes correctly.
Since I am too lazy to run that command manually every time, I tried to put it in a shutdownscript like that:
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: umountJobe
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
### END INIT INFO
echo "unmounting Jobe"
umount /mnt/Jobe
exit 0
and I ran
Code:
update-rc.d umountJobe.sh stop 01 0 6 .
And indeed it appeared in my shutdown sequence, but to no real effect. If anything it stopped at a different command (winbind daemon instead of rsyslogd).
Occasionally it finishes the shutdown sequence, but I am not able to reproduce it.
The K01umountJobe Symlink in rc0.d and rc6.d seem to be OK.
Any idea what I did wrong?