Log in

Bekijk de volledige versie : Is there a way to pre-define "pre-reboot" scripts?



ikerstges
15-02-2006, 09:05
Hiall,

I like how the wl500g issues any commands from the post-files (post-firewall, post-boot, post-mount). Is there a similar way to have a pre-reboot file or something alike, where I can setup any scrips that I want to run in case I issue a reboot?

macsat
15-02-2006, 09:59
Hiall,

I like how the wl500g issues any commands from the post-files (post-firewall, post-boot, post-mount). Is there a similar way to have a pre-reboot file or something alike, where I can setup any scrips that I want to run in case I issue a reboot?

From: http://oleg.wl500g.info/
Under: Download 1.9.2.7-5 (2005-05-05)
27. Added /usr/local/sbin/pre-shutdown script support - called before reboot/halt

ikerstges
15-02-2006, 10:32
:o (Oops, sorry; will search that source more next time) Thanks!