run a script AFTER everything boots
Due to issues with a SAN attached FS, I need to run a mount -a after the system and runlevel services load. For some reason the SAN FS is not completely loaded after the runlevel scripts complete and therefore some of the dependent mount points do not get loaded from the fstab.
SUSE 10.2
I have a simple script that runs a sudo mount -a that works fine when I run it after everything is up. However, I need this to run automatically. I have tried creating a service and that did not work. I cannot use boot.local as that runs before the runlevel. I even tried a sleep in the script to execute it as the last service with a 5 minute sleep and that still does not work.
Anyone have another idea that will work? I'm all ears.
Thank you.
Last edited by j-me; 10-04-2010 at 09:09 PM.
Reason: got it to work finally.
|