Browse Source

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 <[email protected]>
Jo-Philipp Wich 9 years ago
parent
commit
168ba1a28e
1 changed files with 12 additions and 0 deletions
  1. 12 0
      target/linux/xburst/base-files/etc/board.d/01_system

+ 12 - 0
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