summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-watchdog/files
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/freifunk-watchdog/files')
-rwxr-xr-xcontrib/package/freifunk-watchdog/files/freifunk-watchdog.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/package/freifunk-watchdog/files/freifunk-watchdog.init b/contrib/package/freifunk-watchdog/files/freifunk-watchdog.init
index 9ca43754d..1cce46b4a 100755
--- a/contrib/package/freifunk-watchdog/files/freifunk-watchdog.init
+++ b/contrib/package/freifunk-watchdog/files/freifunk-watchdog.init
@@ -10,6 +10,10 @@ boot()
echo "* * * * * $BIN running || /etc/init.d/freifunk-watchdog restart" >> /etc/crontabs/root
fi
+ if lsmod | grep -q softdog; then
+ mknod /dev/watchdog c 10 130
+ fi
+
start
}