netifd: reload the network config on ifup -a
SVN-Revision: 28544
This commit is contained in:
		@@ -14,6 +14,7 @@ if_call() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[[ "$1" == "-a" ]] && {
 | 
					[[ "$1" == "-a" ]] && {
 | 
				
			||||||
 | 
						[ "$modes" = "down up" ] && ubus call network reload
 | 
				
			||||||
	for interface in `ubus -S list 'network.interface.*'`; do
 | 
						for interface in `ubus -S list 'network.interface.*'`; do
 | 
				
			||||||
		if_call "$interface"
 | 
							if_call "$interface"
 | 
				
			||||||
	done
 | 
						done
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user