Help writing with SH script?
Hi,
I would like to write an SH script that connects me to the internet automatically. I am using FC4. Usually, what I have to do is, in the terminal: Code:
su - root And the 2nd one, would I place it in my /etc/init.d folder for it to start the sciprt every time? |
Quote:
Code:
!#/bin/bash for sake of this /home/internet.sh. test it logged in as root or SU cd /home/;./internet.sh& if it works now add it to end of startup file to start at boot. Code:
echo "cd /home/;./internet.sh&" >>/etc/rc.local |
All times are GMT -5. The time now is 11:51 PM. |