diff options
-rwxr-xr-x | applications/luci-asterisk/ipkg/postinst | 1 | ||||
-rw-r--r-- | applications/luci-hd_idle/ipkg/postinst | 3 | ||||
-rw-r--r-- | applications/luci-mmc_over_gpio/ipkg/postinst | 1 | ||||
-rwxr-xr-x | applications/luci-olsr/ipkg/postinst | 1 | ||||
-rwxr-xr-x | applications/luci-p2pblock/ipkg/postinst | 1 | ||||
-rw-r--r-- | applications/luci-p910nd/ipkg/postinst | 3 | ||||
-rwxr-xr-x | applications/luci-polipo/ipkg/postinst | 1 | ||||
-rw-r--r-- | applications/luci-ushare/ipkg/postinst | 1 | ||||
-rwxr-xr-x | applications/luci-uvc_streamer/ipkg/postinst | 3 |
9 files changed, 12 insertions, 3 deletions
diff --git a/applications/luci-asterisk/ipkg/postinst b/applications/luci-asterisk/ipkg/postinst index 68f2b1a89..950c7da0f 100755 --- a/applications/luci-asterisk/ipkg/postinst +++ b/applications/luci-asterisk/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { ( . /etc/uci-defaults/luci-asterisk ) && rm -f /etc/uci-defaults/luci-asterisk + /etc/init.d/asterisk enabled || /etc/init.d/asterisk enable } diff --git a/applications/luci-hd_idle/ipkg/postinst b/applications/luci-hd_idle/ipkg/postinst index 4c3b4dca8..835dc23ad 100644 --- a/applications/luci-hd_idle/ipkg/postinst +++ b/applications/luci-hd_idle/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-hd_idle ) && rm -f /etc/uci-defaults/luci-hd_idle + ( . /etc/uci-defaults/luci-hd_idle ) && rm -f /etc/uci-defaults/luci-hd_idle + /etc/init.d/hd-idle enabled || /etc/init.d/hd-idle enable } diff --git a/applications/luci-mmc_over_gpio/ipkg/postinst b/applications/luci-mmc_over_gpio/ipkg/postinst index cf16b8a4b..d88cfb963 100644 --- a/applications/luci-mmc_over_gpio/ipkg/postinst +++ b/applications/luci-mmc_over_gpio/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { ( . /etc/uci-defaults/luci-mmc_over_gpio ) && rm -f /etc/uci-defaults/luci-mmc_over_gpio + /etc/init.d/mmc_over_gpio enabled || /etc/init.d/mmc_over_gpio enable } diff --git a/applications/luci-olsr/ipkg/postinst b/applications/luci-olsr/ipkg/postinst index d2a77744a..77e13dc36 100755 --- a/applications/luci-olsr/ipkg/postinst +++ b/applications/luci-olsr/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { ( . /etc/uci-defaults/luci-olsr ) && rm -f /etc/uci-defaults/luci-olsr + /etc/init.d/olsrd enabled || /etc/init.d/olsrd enable } diff --git a/applications/luci-p2pblock/ipkg/postinst b/applications/luci-p2pblock/ipkg/postinst index b097c29cd..492658391 100755 --- a/applications/luci-p2pblock/ipkg/postinst +++ b/applications/luci-p2pblock/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { ( . /etc/uci-defaults/luci-p2pblock ) && rm -f /etc/uci-defaults/luci-p2pblock + /etc/init.d/freifunk-p2pblock enabled || /etc/init.d/freifunk-p2pblock enable } diff --git a/applications/luci-p910nd/ipkg/postinst b/applications/luci-p910nd/ipkg/postinst index d16d5cc3d..768e7ddf1 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 } diff --git a/applications/luci-polipo/ipkg/postinst b/applications/luci-polipo/ipkg/postinst index 16408879a..0b84b0daf 100755 --- a/applications/luci-polipo/ipkg/postinst +++ b/applications/luci-polipo/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { ( . /etc/uci-defaults/luci-polipo ) && rm -f /etc/uci-defaults/luci-polipo + /etc/init.d/polipo enabled || /etc/init.d/polipo enable } diff --git a/applications/luci-ushare/ipkg/postinst b/applications/luci-ushare/ipkg/postinst index f3924893d..0309e3e1a 100644 --- a/applications/luci-ushare/ipkg/postinst +++ b/applications/luci-ushare/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { ( . /etc/uci-defaults/luci-ushare ) && rm -f /etc/uci-defaults/luci-ushare + /etc/init.d/ushare enabled || /etc/init.d/ushare enable } diff --git a/applications/luci-uvc_streamer/ipkg/postinst b/applications/luci-uvc_streamer/ipkg/postinst index 492bc858c..d0cf7fec6 100755 --- a/applications/luci-uvc_streamer/ipkg/postinst +++ b/applications/luci-uvc_streamer/ipkg/postinst @@ -1,4 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-uvc_streamer ) && rm -f /etc/uci-defaults/luci-uvc_streamer + ( . /etc/uci-defaults/luci-uvc_streamer ) && rm -f /etc/uci-defaults/luci-uvc_streamer + /etc/init.d/uvc-streamer enabled || /etc/init.d/uvc-streamer enable } |