xburst: add /etc/config/system overrides via board.d
Use /etc/board.d/ to register hostname and ntp server overrides. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
528b8f6f93
commit
168ba1a28e
1 changed files with 12 additions and 0 deletions
12
target/linux/xburst/base-files/etc/board.d/01_system
Executable file
12
target/linux/xburst/base-files/etc/board.d/01_system
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
ucidef_set_hostname "BenNanoNote"
|
||||
ucidef_set_ntpserver
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
Loading…
Reference in a new issue