diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-08 20:00:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-08 20:00:50 +0000 |
commit | 9b767cf8dfc1c404f0deb0d8eff704b2e6adeb37 (patch) | |
tree | 537a3ca17f85823f872f8859d27a29143e786b55 /applications/luci-p910nd/ipkg/postinst | |
parent | c639bda253aa13270f06cf5103200b9b65feee45 (diff) |
applications: enable related init scripts on opkg install, otherwise users would have to use the shell
Diffstat (limited to 'applications/luci-p910nd/ipkg/postinst')
-rw-r--r-- | applications/luci-p910nd/ipkg/postinst | 3 |
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 } |