monstercameron
Well-Known Member
here is the code any help would be appreciated!
Code:
#if mountpoint -q /dev/sdc1 = 0 then
if /media/toshihdd -q $1;then
sudo umount -l /dev/sdc1
echo "unmounting!"
else
sudo mount.exfat-fuse /dev/sdc1 /media/toshihdd
echo "mounting"
fi