diff options
Diffstat (limited to 'package/rrdcollect/files')
-rw-r--r-- | package/rrdcollect/files/rrdcollect-example.conffiles | 2 | ||||
-rw-r--r-- | package/rrdcollect/files/rrdcollect.init | 4 | ||||
-rw-r--r-- | package/rrdcollect/files/rrdcollect.postinst | 3 |
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 |