fb2d38cb57
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5507 504e572c-2e33-0410-9681-be2bf7408885
23 lines
439 B
Plaintext
23 lines
439 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
|
|
|
|
echo -n "Deactivating swap..."
|
|
/sbin/swapoff -a
|
|
evaluate_retval
|
|
|
|
echo -n "Unmounting file systems..."
|
|
/bin/umount -a -r
|
|
evaluate_retval
|
|
end script
|