mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Small changes
This commit is contained in:
		
							parent
							
								
									ee8d5282be
								
							
						
					
					
						commit
						78da2806d9
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -544,11 +544,11 @@ function wizard_add() | |||
| 		os.execute("sleep 2") | ||||
| 	end | ||||
| 	luci.sys.call("/etc/init.d/shadowsocks-libev restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/dsvpn restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/glorytun restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/glorytun-udp restart >/dev/null 2>/dev/null") | ||||
| 	--luci.sys.call("/etc/init.d/mlvpn restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/mlvpn restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/openvpn restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/dsvpn restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/omr-tracker restart >/dev/null 2>/dev/null") | ||||
| 	luci.sys.call("/etc/init.d/omr-6in4 restart >/dev/null 2>/dev/null") | ||||
| 	if gostatus == true then | ||||
|  |  | |||
|  | @ -773,7 +773,7 @@ function interfaces_status() | |||
| 		if tun_dev == "" then | ||||
| 			tun_dev = get_device("omrvpn") | ||||
| 		end | ||||
| 		if tun_dev ~= "" and tun_dev ~= false then | ||||
| 		if tun_dev ~= "" and tun_dev ~= nil then | ||||
| 			local peer = get_gateway("omrvpn") | ||||
| 			if peer == "" then | ||||
| 				peer = ut.trim(sys.exec("ip -4 r list dev " .. tun_dev .. " | grep kernel | awk '/proto kernel/ {print $1}' | grep -v / | tr -d '\n'")) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue