diff --git a/build.sh b/build.sh index 4135c985..7edfd842 100755 --- a/build.sh +++ b/build.sh @@ -98,7 +98,7 @@ if [ "$OMR_OPENWRT" = "default" ]; then _get_repo feeds/${OMR_KERNEL}/packages https://github.com/openwrt/packages "93aca6dfbe894217435e4623bc48489ab9695cd1" _get_repo feeds/${OMR_KERNEL}/luci https://github.com/openwrt/luci "9139ad468599b586dbd7ca48fe5a149c95f28800" else - _get_repo "$OMR_TARGET/${OMR_KERNEL}/source" https://github.com/openwrt/openwrt "cb1dc49c18e54fde6f8892d728c043b93dc995c3" + _get_repo "$OMR_TARGET/${OMR_KERNEL}/source" https://github.com/openwrt/openwrt "9d06e5a7735508d793c3a125f9f7d623671e29e4" _get_repo feeds/${OMR_KERNEL}/packages https://github.com/openwrt/packages "b4043d92257505526a5b8ceac94f9f28f887abbd" _get_repo feeds/${OMR_KERNEL}/luci https://github.com/openwrt/luci "111c551cdb8d14e8e5ef7c7a66ffdceb6d3cbb55" fi diff --git a/root/target/linux/ipq40xx/base-files/lib/preinit/82_modem_power b/root/target/linux/ipq40xx/base-files/lib/preinit/82_modem_power index 7db2ecf2..2d77ee72 100644 --- a/root/target/linux/ipq40xx/base-files/lib/preinit/82_modem_power +++ b/root/target/linux/ipq40xx/base-files/lib/preinit/82_modem_power @@ -11,7 +11,7 @@ set_state() { } do_power_modem() { - [ -z "$(uci -q get system.modem.disable)" ] && /sbin/mctl -p || { + /sbin/mctl -p || { config_load system config_foreach set_state mctl }