/home/andrea/.gnome2/nautilus-scripts
Codice: Seleziona tutto
#!/bin/bash
#
#By modprobing loop it makes sure that the module is loaded and ready for
#use. If it is already loaded then nothing will happen.
modprobe loop
for I in `echo $*`
do
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo mount -o loop -t iso9660 $I /media/iso
done
done
exit0
ah... non funziona nemmeno lo script per smontare:
Codice: Seleziona tutto
#!/bin/bash
#
for I in `echo $*`
do
foo=`gksudo -u root -k -m "inserire la tua password di root" /bin/echo "got r00t?"`
sudo umount $I
done
done
exit0


