summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p910nd/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-p910nd/ipkg/postinst')
-rw-r--r--applications/luci-p910nd/ipkg/postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-p910nd/ipkg/postinst b/applications/luci-p910nd/ipkg/postinst
index d16d5cc3da..768e7ddf1b 100644
--- a/applications/luci-p910nd/ipkg/postinst
+++ b/applications/luci-p910nd/ipkg/postinst
@@ -1,4 +1,5 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- ( . /etc/uci-defaults/luci-p910nd ) && rm -f /etc/uci-defaults/luci-p910nd
+ ( . /etc/uci-defaults/luci-p910nd ) && rm -f /etc/uci-defaults/luci-p910nd
+ /etc/init.d/p910nd enabled || /etc/init.d/p910nd enable
}