summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-watchdog/files/sysupgrade.hook
blob: e124c39c502589fd86435acdf016b880ca46b0e3 (plain)
1
2
3
4
5
6
7
kill_freifunk_watchdog() {
	v "Terminating ffwatchd..."
	killall ffwatchd
	killall crond
}

export sysupgrade_pre_upgrade="${sysupgrade_pre_upgrade:+$sysupgrade_pre_upgrade }kill_freifunk_watchdog"