Wraithan

Group: Members
Posts: 14
Joined: July 2006 |
 |
Posted: July 31 2006,18:25 |
 |
If you had read my post you would see that I was already doing that... I added a script to /etc/init.d called it mountit.sh then contents:
#!/bin/bash #Script to mount my partitions in fstab echo "Mounting everything in /etc/fstab that should get mounted" mount -a &
Then I made a link using the command:
ln -s /etc/init.d/mountit.sh /etc/rcS.d/S35mountit.sh
The S35 part deterimins when it will be run during startup, S meaning start up, 3 meaning runlevel 3, and I am not possitive about the 5 part but I assume that is part of what order in runlevel 3.
Since /home isn't read till after runlevel 5 is reached, and on other systems it seems that mounting init scripts are done in runlevel 3, I thouht that would be a good place to do it.
|