diff options
Diffstat (limited to 'contrib/package/freifunk-watchdog/files/sysupgrade.hook')
-rw-r--r-- | contrib/package/freifunk-watchdog/files/sysupgrade.hook | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/package/freifunk-watchdog/files/sysupgrade.hook b/contrib/package/freifunk-watchdog/files/sysupgrade.hook new file mode 100644 index 000000000..e124c39c5 --- /dev/null +++ b/contrib/package/freifunk-watchdog/files/sysupgrade.hook @@ -0,0 +1,7 @@ +kill_freifunk_watchdog() { + v "Terminating ffwatchd..." + killall ffwatchd + killall crond +} + +export sysupgrade_pre_upgrade="${sysupgrade_pre_upgrade:+$sysupgrade_pre_upgrade }kill_freifunk_watchdog" |