First make /usr/bin/mount_htpc:
volume="/home/user/htpc"
if mount|grep $volume; then
umount /home/user/htpc
notify-send "[ ] Umounted /home/user/htpc"
else
mount /home/user/XBMC
notify-send "[X] Mounted /home/user/htpc"
fi
Then create a shortcut to this function! Fast and easy!
No comments:
Post a Comment