HI all, Is there anyway to make the following simple bash script run by clicking on an icon in the desktop? Even if the icon opens the terminal window would be OK.
#!/bin/sh echo echo echo echo -n "Enter your username: " read -e username echo echo echo -n "Enter your password: " read -s password [ -a /home/$username/O_drive ] || mkdir -p /home/$username/O_Drive sudo mount -t smbfs -o username=$username,password=$password,posix=0,uid=$1,gid=$1,umask=0077 //10.192.0.14/homes /home/$username/O_Drive ____________________ Simon Bryan IT Manager OLMC Parramatta -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug