#!/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