need to write a run level 3 script
Good Day,
I need a script. Nothing fancy. 1-need to run at runlevel 3. 2-su to-nonroot-usr 3-cd /to/dir 4. sh ./my.sh Then exit. exit means let system resume the control. Thanks. |
Quote:
|
Quote:
If you need help debugging it after you've written it, feel free to post it. |
Quote:
its 3 line code how do I provide more details ? I make it easy, don't answer if you don't feel like!! |
ok I guess question I have is
Code:
or Do I need to make 2 scripts k and s ? Thanks |
Quote:
in init.d and just have the K and S symlinks in rc3.d ... And no - a script w/o [KS][[:digit:]] won't be executed by the initscript system ... have a look, I'm sure there's a README in one those that explains how things work ;D Cheers, Tink |
All times are GMT -5. The time now is 09:01 AM. |