what is wrong with my script. I want to use to mount my truecrypt
volume then unmount
./mtc i --> for install
./mtc r --> for removal
#!/bin/bash
if ["$1"=='i']
then
sudo truecrypt --mount-options 'rw,umask=000,uid=1000,gid=1000'
--user-mount -p ddddddd /media/HABLG/temporary /media/LGCrypt
elif ["$1"=='r']
then
sudo truecrypt -d
sudo umount /media/HABLG
fi
--
OOzy
Ubuntu-Gutsy (7.10)
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-05-2007, 09:39 AM
Nils Kassube
Script to mount and umount truecrypt volumes
OOzy Pal wrote:
> what is wrong with my script. I want to use to mount my truecrypt
> volume then unmount
>
> ./mtc i --> for install
> ./mtc r --> for removal
>
> #!/bin/bash
>
> if ["$1"=='i']