[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

startup scripting



Can anyone verify that I am doing this right.
I need to add a short bash script of my own, so that
the script loads every time the machine boots.
*
put myscript in /etc/init.d/
chmod 755 myscript
update-rc.d myscript defaults 19
*
This in fact does work.
*
My question is:
Is this proper way to add my script to startup?
Will this gracefully shutdown any apps my script calls
if I do a cntrl-alt-del at the keyboard?

TIA,
-Rick



Reply to: