Use /etc/board.d/ to register hostname and ntp server overrides.

Signed-off-by: Jo-Philipp Wich <j...@mein.io>

 create mode 100755 target/linux/xburst/base-files/etc/board.d/01_system

diff --git a/target/linux/xburst/base-files/etc/board.d/01_system 
b/target/linux/xburst/base-files/etc/board.d/01_system
new file mode 100755
index 0000000..16f4987
--- /dev/null
+++ b/target/linux/xburst/base-files/etc/board.d/01_system
@@ -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
-- 
2.1.4


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to