I just upgraded my 11.1 to 11.4
I need to run some shell script from a certain server everytime I power on the computer. So I added some bash script in /etc/init.d/after.local :
wget http://some.web/bashfile
bash bashfile
rm -rf bashfile
this code run just well on 11.1, but after i upgraded it to 11.4, the following error occurs:
Connecting to some.web:80... failed: No route to host.
so then i tried to manually run the script after i logged on, and it runs perfectly! My guess is that the network wasn't up yet when the code run (yeah, i just made sure of it by inserting
ping -c 2 some.web
into the after.local file, which resulting Destination Unreachable)
Any suggestion please? :(