Help Me


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help Me
# 1  
Old 09-07-2002
Hammer & Screwdriver Help Me

I have a Script Shell. Now! I want it will excute when startup System...Or when I login as a root acc.

Please Help Me! Thanks
# 2  
Old 09-08-2002
If you want to enable it at startup, (assuming that you are using Linux), place a small file in /etc/init.d, and place in that file the command to load the script. Then, depending on your distrobution (you may not even have a /etc/init.d directory, in which you can place it in /etc/rc.d), you can either enable startup of this script by running the distrobution-specific (usually) program that will enable that script @ startup, for instance, in Red Hat, it would be the ntsysv command. In Debian, it would be the update-rc.d.
cerberusofhate
# 3  
Old 09-08-2002
Hammer & Screwdriver

Thanks you very much

Now! I will try it Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question