Very short and simple. Unmounts all the mounts. This is useful for linking to eg /etc/rc0.d/K22zumountall (and similar for rc6.d). Cheers Zen -- Homepage: www.SoulSound.net -- Free Australia: www.UPMART.org Please respect the confidentiality of this email as sensibly warranted.
#!/bin/sh # Default directory to store dynamic mount configs: FSTAB_DIR="/etc/zmount/mounts" CONFIG_ENV=/etc/zmount/zmount.conf if [ -r $CONFIG_ENV ]; then . $CONFIG_ENV; fi for i in `ls $FSTAB_DIR`; do NEXT=$FSTAB_DIR/$i . $NEXT echo "Unmounting $ENC_DST" zumount $ENC_DST done
--------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx