luci-0.8: merge r4806
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Jun 2009 20:01:52 +0000 (20:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Jun 2009 20:01:52 +0000 (20:01 +0000)
applications/luci-hd_idle/ipkg/postinst
applications/luci-mmc_over_gpio/ipkg/postinst
applications/luci-olsr/ipkg/postinst
applications/luci-p2pblock/ipkg/postinst
applications/luci-p910nd/ipkg/postinst
applications/luci-polipo/ipkg/postinst
applications/luci-ushare/ipkg/postinst
applications/luci-uvc_streamer/ipkg/postinst

index 4c3b4dca8dd659a58b9e81d3cd9271215bf682fa..835dc23ad326ae183b2cfe3d97ac7068a131eb9d 100644 (file)
@@ -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
 }
index cf16b8a4bb473d56b182d0b0c4182d8becccef0f..d88cfb963b792a44a52d9adb7231cc9a268e4fdc 100644 (file)
@@ -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
 }
index d2a77744a6b19d7404fc393b8747aa838d9c25f7..77e13dc36771d05b0e2b6c865b858be50d88edb1 100755 (executable)
@@ -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
 }
index b097c29cd326b33593f835ac0f13ca50e3297b0e..4926583919a405eb2868b1e146e2be6850cfb979 100755 (executable)
@@ -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
 }
index d16d5cc3daf6ead66faf38b5e8ea5aee2a47b571..768e7ddf1bca07345896a0e211258f8ab5a70697 100644 (file)
@@ -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
 }
index 16408879a18f171d791a3ecaa390df30ea3594e5..0b84b0daf4fa0d954cd137b24840862f1914e187 100755 (executable)
@@ -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
 }
index f3924893d3b298ccdc221bffbf63d7137fb2dc7c..0309e3e1a4c4f411cc74b02011f919ca66c8c2c6 100644 (file)
@@ -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
 }
index 492bc858c524d95906b4007f20507878cea46209..d0cf7fec6f659bad1b802d1985d92a02fc191eac 100755 (executable)
@@ -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
 }