Force postinst script exiting with return code 0
[project/luci.git] / applications / luci-hd-idle / ipkg / postinst
index 835dc23..c12bac5 100644 (file)
@@ -2,4 +2,5 @@
 [ -n "${IPKG_INSTROOT}" ] || {
        ( . /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
 [ -n "${IPKG_INSTROOT}" ] || {
        ( . /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
+       exit 0
 }
 }