mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
sync (#398)
This commit is contained in:
commit
2606f4e59b
6 changed files with 15 additions and 6 deletions
|
|
@ -206,7 +206,7 @@ interface_multipath_settings() {
|
|||
#echo "îface: $iface"
|
||||
|
||||
if [ "$(uci -q get openmptcprouter.settings.force_multipath)" != "0" ]; then
|
||||
_logger -t "MPTCP" "Set $iface to $mode"
|
||||
logger -t "MPTCP" "Set $iface to $mode"
|
||||
if [ "$mode" = "master" ]; then
|
||||
multipath "$iface" "on"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -748,9 +748,10 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ] || [ "$interface_up" != "true" ]; then
|
|||
fi
|
||||
done
|
||||
if [ "$modemfind" = "0" ]; then
|
||||
_log "Can't find $OMR_TRACKER_INTERFACE in ModemManager, rescan modem..."
|
||||
/usr/bin/mmcli -S 2>&1 >/dev/null
|
||||
#_log "Can't find $OMR_TRACKER_INTERFACE in ModemManager, rescan modem..."
|
||||
#/usr/bin/mmcli -S 2>&1 >/dev/null
|
||||
#_log "Can't find $OMR_TRACKER_INTERFACE in ModemManager, restart modemmanager..."
|
||||
_log "Can't find $OMR_TRACKER_INTERFACE in ModemManager"
|
||||
#/etc/init.d/modemmanager restart
|
||||
sleep 30
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue