diff options
Diffstat (limited to 'applications/luci-app-p910nd/ipkg/postinst')
-rw-r--r-- | applications/luci-app-p910nd/ipkg/postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-p910nd/ipkg/postinst b/applications/luci-app-p910nd/ipkg/postinst new file mode 100644 index 0000000000..36a91e21b1 --- /dev/null +++ b/applications/luci-app-p910nd/ipkg/postinst @@ -0,0 +1,6 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-p910nd ) && rm -f /etc/uci-defaults/luci-p910nd + /etc/init.d/p910nd enabled || /etc/init.d/p910nd enable + exit 0 +} |