chenxing
November 16th, 2007, 12:54 PM
I am writing a simple script. It runs when the system is booting up, and it mainly contains a "wget" to require a webpage.
I save the script as /etc/init.d/ipgw , and I make a symbol link /etc/rc2.d/S80ipgw to it.
The problem is when the script is executed, "wget" failed. (It seems that the network is still not ready.) How can I ensure the network is initialized when the script is executed?
(The same script runs well in debian unstable)
I save the script as /etc/init.d/ipgw , and I make a symbol link /etc/rc2.d/S80ipgw to it.
The problem is when the script is executed, "wget" failed. (It seems that the network is still not ready.) How can I ensure the network is initialized when the script is executed?
(The same script runs well in debian unstable)