Viitor_upstart/etc/init/umountfs.conf
kueller 771a06b61f Status Meldungen verfeinert. /dev/pts wird jetzt in udev.conf angelegt
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5605 504e572c-2e33-0410-9681-be2bf7408885
2010-05-01 08:58:40 +00:00

21 lines
418 B
Plaintext

description "Umount all Filesystems, and turn off swap"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
stop on (runlevel[06] and (stopped udev))
stop on runlevel 6
stop on runlevel 0
console none
script
source /etc/init/functions
/sbin/swapoff -a
status_message "swap deaktivated..."
/bin/umount -a -r
status_message "All File Systems umounted..."
end script