bennis
June 26th, 2009, 08:55 PM
So i have a script that i'm trying to run on startup, but it isn't running. I can run it once i'm in ubuntu and it works fine, but for some reason it won't run when it's convenient. I've posted a copy of the script below.
umount /media/disk
mount /dev/sdc1 /media/disk-1
mount -o bind /media/disk-1/My\ Documents/My\ Pictures/ /home/ben/Pictures/
mount -o bind /media/disk-1/My\ Documents/My\ Videos/ /home/ben/Videos/
umount /media/disk
mount /dev/sdc1 /media/disk-1
mount -o bind /media/disk-1/My\ Documents/My\ Pictures/ /home/ben/Pictures/
mount -o bind /media/disk-1/My\ Documents/My\ Videos/ /home/ben/Videos/