Execute Script on server restart

you have to login to the server as root through SSH and type this command

Code:
sh ./*script_name* &
(without the *)

make sure u r in the folder containing the script
to check your path type

Code:
ls


hope it works for u :)
 
Back
Top Bottom