mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Set omrvpn as external interface for upnpd
This commit is contained in:
		
							parent
							
								
									4dd42e32c0
								
							
						
					
					
						commit
						c7e9b2aceb
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								openmptcprouter/files/etc/uci-defaults/2092-upnpd
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								openmptcprouter/files/etc/uci-defaults/2092-upnpd
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| if [ "$(uci -q get upnpd.config.external_ifac)" != "omrvpn" ]; then | ||||
| 	uci -q batch <<-EOF >/dev/null | ||||
| 		set upnpd.config.external_iface=omrvpn | ||||
| 		commit upnpd | ||||
| 	EOF | ||||
| fi | ||||
| 
 | ||||
| exit 0 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue