mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 13:34:27 -04:00 
			
		
		
		
	Use /etc/board.d/ to register hostname and ntp server overrides. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
		
			
				
	
	
		
			13 lines
		
	
	
		
			149 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			149 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| . /lib/functions/uci-defaults.sh
 | |
| 
 | |
| board_config_update
 | |
| 
 | |
| ucidef_set_hostname "BenNanoNote"
 | |
| ucidef_set_ntpserver
 | |
| 
 | |
| board_config_flush
 | |
| 
 | |
| exit 0
 |