diff options
Diffstat (limited to 'cryptfs.rc.in')
-rw-r--r-- | cryptfs.rc.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cryptfs.rc.in b/cryptfs.rc.in new file mode 100644 index 0000000..bf52b9e --- /dev/null +++ b/cryptfs.rc.in @@ -0,0 +1,33 @@ +#!/bin/bash +# +# #RCDDIR#/cryptfs: mount/umount encrypted partitions +# + +case "$1" in + + start) + + cryptfs + + ;; + + stop) + + cryptfs -u + + ;; + + restart) + + "$0" stop + "$0" start + + *) + + echo "usage: $0 [start|stop|restart]" + + ;; + +esac + +# End of file |