System startup script for ubuntu 12.04
Im trying to find out what the best way to create a startup script that will run every time our Fog server is restarted. ( system is ubuntu 12.04 running FOG 1.1.1 )
I have a 2nd internal hard drive that i mount to the /images directory. every time i restart the computer i manually run the following command.
“sudo mount /dev/sdc /images”
Trying to find the best way to automate this process.
Yes editing fstab worked for exactly what i was trying to do.
[quote=“kelly.bettendorf, post: 30844, member: 5100”]Thanks Tom i was way over complicating this![/quote]
So I’m guessing this worked for you then? My info was just a guess, remember to change the ext4 part to the supported fs you need.
Thanks Tom i was way over complicating this!
How about editing /etc/fstab
have it contain something like:
/images /dev/sdc ext4 defaults 0 0