mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Restart vnstat after changes
This commit is contained in:
		
							parent
							
								
									17cd449caa
								
							
						
					
					
						commit
						fb834a375e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -583,6 +583,7 @@ function wizard_add()
 | 
			
		|||
	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")
 | 
			
		||||
	luci.sys.call("/etc/init.d/vnstat restart >/dev/null 2>/dev/null")
 | 
			
		||||
	if gostatus == true then
 | 
			
		||||
		luci.http.redirect(luci.dispatcher.build_url("admin/system/openmptcprouter/status"))
 | 
			
		||||
	else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue