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

Re: Run a small script at shutdown/reboot



Hi Jon,

On Tue, Feb 18, 2014 at 9:16 AM, Jon Danniken <danniken@q.com> wrote:
Hello list, I have a small script (foobar.sh) which I would like to run
at shutdown or reboot:

>So what am I missing here?   I'm guessing that using update-rc.d is
>probably more heavy duty/involved than I need for this little script
>(not to mention beyond my current understanding), but what else would
>work?

 You probably need to read https://wiki.debian.org/LSBInitScripts if you want to get your scripts on different runlevels in a right way.

Regards,
Jaikumar
 
 

 

Reply to: