Viitor_upstart/etc/init/umountfs.conf
kueller 79b2635d46 Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_upstart@5933 504e572c-2e33-0410-9681-be2bf7408885
2011-01-03 10:48:06 +00:00

18 lines
380 B
Plaintext

description "Umount all Filesystems, and turn off swap"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel[06] and (stopped udev))
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