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

Re: Run command on shutdown



Le mercredi 12 juillet 2006 à 12:56 +0200, Marco a écrit :
> What's the safest way to run a command on every shutdown?
> 
> Thanks,
> Marco
> 
> 

I would guess it's to put a script in the init.d directory corresponding
to the "shutdown" runlevel (perhaps also reboot runlevel).
Check /etc/inittab... Or wait for an answer from someone who knows what
he's talking about ;-)

T



Reply to: