Quote:
Originally Posted by kirukan
That is startup script right?
put it to following directory /etc/init.d/
#chkconfig --level 2345 scriptname on
here 2345 means runlevel(whatever the runlevel you need just mention on there)
|
I did as follow:
1.
Create a script file and put it under /etc/rc.d/init.d/
2.
Set level
#chkconfig --level 0126 scriptname off
#chkconfig --level 345 scriptname on
Is it ok? Anyway it works.