diff --git a/luci-app-openmptcprouter/root/etc/init.d/openmptcprouter b/luci-app-openmptcprouter/root/etc/init.d/openmptcprouter index c8d8dca00..27c920d6f 100755 --- a/luci-app-openmptcprouter/root/etc/init.d/openmptcprouter +++ b/luci-app-openmptcprouter/root/etc/init.d/openmptcprouter @@ -11,9 +11,10 @@ omr_intf_set() { config_get multipath "$1" multipath config_get ifname "$1" ifname [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ -n "$(echo $ifname | grep usb)" ] && { - uci -q set openmptcprouter.settings.scaling_min_freq=$(uci -q get openmptcprouter.settings.scaling_max_freq) + uci -q set openmptcprouter.settings.scaling_min_freq=800000 + uci -q set openmptcprouter.settings.scaling_max_freq=800000 } - [ -z "$multipath" ] || [ "$multipath" = "off" ] && return + [ -z "$multipath" ] || [ "$multipath" = "off" ] && [ "$1" != "omrvpn" ] && [ "$1" != "glorytun" ] && return uci -q set openmptcprouter.$1=interface }