1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge branch 'test' into develop

This commit is contained in:
suyuan 2021-04-23 02:17:53 +08:00
commit 43ea9b2dce
3 changed files with 12 additions and 2 deletions

View file

@ -181,6 +181,10 @@ start_service() {
EOF
/etc/init.d/rpcd restart 2>&1 >/dev/null
fi
if [ "$(pgrep ModemManager)" = "" ] && [ -f /etc/init.d/modemmanager ] && [ -n "$(uci -q show network | grep modemmanager)" ]; then
_log "Can't find ModemManager, start it..."
/etc/init.d/modemmanager restart
fi
}
stop_service() {