Executing an script on reboot/shutdown

Diego Woitasen diegows at xtech.com.ar
Thu Apr 22 20:27:04 BST 2010


Hi,
 Is there a way to execute an script on shutdown/reboot before anything
else? I need to kill an application with an especial comand if the user
reboots or shutdowns the machine (via command line, Gnome or pressing
ctrl+alt+del). I could execute an script on those events but it isn't
execute in first place.

Thanks.


-- 
Diego Woitasen
XTECH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/upstart-devel/attachments/20100422/1645d4e7/attachment.htm 


More information about the upstart-devel mailing list