18 lines
380 B
Plaintext
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
|