summaryrefslogtreecommitdiff
path: root/package/nut/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'package/nut/ipkg')
-rw-r--r--package/nut/ipkg/nut.conffiles2
-rw-r--r--package/nut/ipkg/nut.control4
-rw-r--r--package/nut/ipkg/nut.postinst4
3 files changed, 10 insertions, 0 deletions
diff --git a/package/nut/ipkg/nut.conffiles b/package/nut/ipkg/nut.conffiles
new file mode 100644
index 000000000..df6dd3071
--- /dev/null
+++ b/package/nut/ipkg/nut.conffiles
@@ -0,0 +1,2 @@
+/etc/ups.conf
+/etc/upsd.conf
diff --git a/package/nut/ipkg/nut.control b/package/nut/ipkg/nut.control
new file mode 100644
index 000000000..a896bfd60
--- /dev/null
+++ b/package/nut/ipkg/nut.control
@@ -0,0 +1,4 @@
+Package: nut
+Priority: optional
+Section: sys
+Description: Network UPS Tools
diff --git a/package/nut/ipkg/nut.postinst b/package/nut/ipkg/nut.postinst
new file mode 100644
index 000000000..cd5faf1af
--- /dev/null
+++ b/package/nut/ipkg/nut.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf upsd upsd NO
+