Running scripts at boot time
I have recently been asked to set up a number of systems using SuSE 7.3. I automatically (and probably naively) assumed it wouldn't be too different from 7.1 but I am having a bit of difficulty with a script we run at boot time.
The script sets up a number of aliases on a network card. The script is in the form
/sbin/ifconfig eth0:1 ip_address1
/sbin/ifconfig eth0:2 ip_address2
/sbin/ifconfig eth0:3 ip_address3
I've called it .ip_aliasing0 and put it in the home directory for my user account.
In SuSE 7.1 I just edited the /etc/init.d/boot.local file and added
/home/<user>/.ip_aliasing0 to the foot of the file and it worked fine.
But in SuSE 7.3 that isn't working. On boot I get errors saying "unknown interface: no such device" for each alias
But the script can be run fine once I have booted up and opened a bash shell.
Has 7.3 changed the startup order? If so, where should I put my script?
I've checked the permissions on the .ip_aliasing0 file and it is executable by all users so that shouldn't be a problem.