(pre_update_hook): New configuration key.

(update_wait): Implement it.
(run_hook): New.
This commit is contained in:
Markus Armbruster 2005-03-12 17:24:57 +00:00
parent f12649c3da
commit 7d71984932
3 changed files with 38 additions and 2 deletions

View file

@ -86,6 +86,8 @@ EMPCFBOTH("hourslop", hourslop, int, NSC_INT, KM_INTERNAL,
"Number of minutes update check can slip to match update_times")
EMPCFBOTH("blitz_time", blitz_time, int, NSC_INT, 0,
"Number of minutes between updates under policy #2.")
EMPCFBOTH("pre_update_hook", pre_update_hook, char *, NSC_STRING, 0,
"Shell command run right before the update.")
EMPCF_COMMENT("\n\n### Demand update policy")
EMPCFBOTH("update_demandpolicy", update_demandpolicy, int, NSC_INT, 0,