Your script should be in /etc/init.d/ directory.
Then you have to make a symlink from your run-level directory.
I.e you’re in run-level 5 (multiuser with X)
[code='sh']chmod +x
cp
ln -s /etc/init.d/
ln -s /etc/init.d/
[/code]
Your script should be in /etc/init.d/ directory.
Then you have to make a symlink from your run-level directory.
I.e you’re in run-level 5 (multiuser with X)
[code='sh']chmod +x
cp
ln -s /etc/init.d/
ln -s /etc/init.d/
[/code]
Assumed that “eth0″ is the interface for network card
IP Address 10.0.0.1
Range: 10.0.0.1 to 10.0.0.30
Subnet Mask: 255.255.255.224
DNS Servers: 193.226.98.1, 193.226.98.2
Domains:r2d2.dositei.ro
Gateway Address: 10.0.0.1