Mister Google told me it may have to do with NTFS network mounts and indeed, if I ran umount /mnt/Jobe (NTFS jumbstick on my routerbox) the shutdown process finishes correctly.
Since I am too lazy to run that command manually every time, I tried to put it in a shutdown script (skeleton of /etc/init.d) like that:
Code: Alles auswählen
#! /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
Code: Alles auswählen
update-rc.d umountJobe.sh start 01 0 6 .
And indeed it appeares in my shutdown sequence, but to no real effect. If anything shutdown stops at a different command (stopping winbind daemon instead of rsyslogd).
Any idea what I did wrong? Anything else I can try?
Thanks for any help