mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Fix Typo
This commit is contained in:
parent
97e104a5e5
commit
3a867d4525
2 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@
|
|||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:Disable ModemManager%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="checkbox" name="disablemodemanager" class="cbi-input-checkbox" value="0" <% if luci.model.uci.cursor():get("openmptcprouter","settings","modemmanager") == "0" then %>checked<% end %>>
|
||||
<input type="checkbox" name="disablemodemmanager" class="cbi-input-checkbox" value="0" <% if luci.model.uci.cursor():get("openmptcprouter","settings","modemmanager") == "0" then %>checked<% end %>>
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:Disable ModemManager%>
|
||||
|
|
|
@ -181,7 +181,7 @@ 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)" ] && [ "$(uci -q openmptcprouter.settings.modemanager)" != "0" ]; then
|
||||
if [ "$(pgrep ModemManager)" = "" ] && [ -f /etc/init.d/modemmanager ] && [ -n "$(uci -q show network | grep modemmanager)" ] && [ "$(uci -q openmptcprouter.settings.modemmanager)" != "0" ]; then
|
||||
_log "Can't find ModemManager, start it..."
|
||||
/etc/init.d/modemmanager restart
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue