summaryrefslogtreecommitdiff
path: root/package/rrdcollect/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/rrdcollect/files')
-rw-r--r--package/rrdcollect/files/rrdcollect-example.conffiles2
-rw-r--r--package/rrdcollect/files/rrdcollect.init4
-rw-r--r--package/rrdcollect/files/rrdcollect.postinst3
3 files changed, 8 insertions, 1 deletions
diff --git a/package/rrdcollect/files/rrdcollect-example.conffiles b/package/rrdcollect/files/rrdcollect-example.conffiles
new file mode 100644
index 000000000..9e9a33a22
--- /dev/null
+++ b/package/rrdcollect/files/rrdcollect-example.conffiles
@@ -0,0 +1,2 @@
+/etc/rrd.conf
+/etc/rrdcollect.conf
diff --git a/package/rrdcollect/files/rrdcollect.init b/package/rrdcollect/files/rrdcollect.init
index 300f954c4..0f9d00ab1 100644
--- a/package/rrdcollect/files/rrdcollect.init
+++ b/package/rrdcollect/files/rrdcollect.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 90
+#PKG rrdcollect
+#INIT 90
+
. /etc/rc.conf
LIB_D=/var/lib/rrdcollect
diff --git a/package/rrdcollect/files/rrdcollect.postinst b/package/rrdcollect/files/rrdcollect.postinst
new file mode 100644
index 000000000..760d20811
--- /dev/null
+++ b/package/rrdcollect/files/rrdcollect.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf rrdcollect rrdcollect NO