mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Disable NTP via DHCP, enable NTP server
This commit is contained in:
		
							parent
							
								
									ac33a0b38a
								
							
						
					
					
						commit
						ebbd43578e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,8 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
uci -q batch <<-EOF >/dev/null
 | 
			
		||||
	set system.@system[-1].ttylogin=1
 | 
			
		||||
	set system.ntp.use_dhcp='0'
 | 
			
		||||
	set system.ntp.enable_server='1'
 | 
			
		||||
	commit system
 | 
			
		||||
	set rpcd.@rpcd[0].timeout=90
 | 
			
		||||
	commit rpcd
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue