I created a script... for now, we'll call this script "clean-up"
All it does is clean up some users that match certain criterias. I need to run this program at start-up everytime.... So I need to write a script to do this.
The way I was told to do this (I know... easier ways... already did them) is by starting the script through the rc files at boot time.... but only for run levels 2, 3 and 5... the script though terminate on itself if it runs on any other level. The rc script though start my "clean-up" script and then it'll sleep for five minutes.
I really have absolutely no clue where to even start. I would LOVE for someone to write up an entire example, but since this is for academia, and you feel I'd be cheated out of doing it myself, then helpful hints or suggests will be GREATLY appreciated. Thank you!
apsivam 110000EPP83 Posts
Re: Need... help...2006-11-20T11:03:11ZThis is the accepted answer. This is the accepted answer.I don't think you need a rc script for this just write shell script and inclue/call it from /etc/rc.local file thats it will not run on runleve 0 or 6
Sivanandhan, P. (a.k.a. apsivam)
SystemAdmin 110000D4XK232 Posts