mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Merge branch 'pr/30' into test
This commit is contained in:
		
						commit
						00b0e81a24
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -470,7 +470,7 @@
 | 
			
		|||
		    <label class="cbi-value-title"><%:Type%></label>
 | 
			
		||||
		    <div class="cbi-value-field">
 | 
			
		||||
			<select class="cbi-input-select" data-update="change" id="cbid.network.<%=ifname%>.type" name="cbid.network.<%=ifname%>.type" size="1">
 | 
			
		||||
			    <option id="cbid.network.<%=ifname%>.type-normal" value="normal"><%:Normal%></option>
 | 
			
		||||
			    <option id="cbid.network.<%=ifname%>.type-normal" value="normal"><% if uci:get("network",ifname,"type") ~= "macvlan" and uci:get("network",ifname,"type") ~= "bridge" then %> selected="selected"<% end %>><%:Normal%</option>
 | 
			
		||||
			    <option id="cbid.network.<%=ifname%>.type-macvlan" value="macvlan"<% if uci:get("network",ifname,"type") == "macvlan" then %> selected="selected"<% end %>><%:MacVLAN%></option>
 | 
			
		||||
			    <option id="cbid.network.<%=ifname%>.type-bridge" value="bridge"<% if uci:get("network",ifname,"type") == "bridge" then %> selected="selected"<% end %>><%:Bridge%></option>
 | 
			
		||||
			</select>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -380,12 +380,15 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ] || [ "$interface_up" != "true" ]; then
 | 
			
		|||
			fi
 | 
			
		||||
		fi
 | 
			
		||||
		if [ "$(uci -q get dsvpn.vpn.enable)" = "1" ]; then
 | 
			
		||||
			_log "DSVPN down, restart it"
 | 
			
		||||
			/etc/init.d/dsvpn restart
 | 
			
		||||
		fi
 | 
			
		||||
		if [ "$(uci -q get mlvpn.general.enable)" = "1" ]; then
 | 
			
		||||
			_log "MLVPN down, restart it"
 | 
			
		||||
			/etc/init.d/mlvpn restart
 | 
			
		||||
		fi
 | 
			
		||||
		if [ "$(uci -q get glorytun.vpn.enable)" = "1" ]; then
 | 
			
		||||
			_log "Glorytun VPN down, restart it"
 | 
			
		||||
			/etc/init.d/glorytun restart
 | 
			
		||||
			/etc/init.d/glorytun-udp restart
 | 
			
		||||
		fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue