mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-22 20:14:06 +01:00
Use /etc/board.d/ to register hostname and ntp server overrides. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
12 lines
149 B
Bash
Executable file
12 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
|