summaryrefslogtreecommitdiff
path: root/package/watchdog/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/watchdog/files')
-rw-r--r--package/watchdog/files/watchdog.conffiles1
-rw-r--r--package/watchdog/files/watchdog.init3
-rw-r--r--package/watchdog/files/watchdog.postinst3
3 files changed, 6 insertions, 1 deletions
diff --git a/package/watchdog/files/watchdog.conffiles b/package/watchdog/files/watchdog.conffiles
new file mode 100644
index 000000000..3ef13592a
--- /dev/null
+++ b/package/watchdog/files/watchdog.conffiles
@@ -0,0 +1 @@
+/etc/watchdog.conf
diff --git a/package/watchdog/files/watchdog.init b/package/watchdog/files/watchdog.init
index fba89afe5..c5be0f768 100644
--- a/package/watchdog/files/watchdog.init
+++ b/package/watchdog/files/watchdog.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 15
+#PKG watchdog
+#INIT 15
. /etc/rc.conf
diff --git a/package/watchdog/files/watchdog.postinst b/package/watchdog/files/watchdog.postinst
new file mode 100644
index 000000000..17d144395
--- /dev/null
+++ b/package/watchdog/files/watchdog.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf watchdog watchdog NO