aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-05-31 14:23:06 +0200
committerJo-Philipp Wich <jo@mein.io>2016-06-08 00:31:09 +0200
commit168ba1a28eab466aa03b1bf13c4197625648fd02 (patch)
tree1a95ab7a9baec5de07d43e5842e9ea42254621b5 /target/linux/xburst
parent528b8f6f9387c9c3f10260e31a50cc53d1bd1cb4 (diff)
downloadupstream-168ba1a28eab466aa03b1bf13c4197625648fd02.tar.gz
upstream-168ba1a28eab466aa03b1bf13c4197625648fd02.tar.bz2
upstream-168ba1a28eab466aa03b1bf13c4197625648fd02.zip
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>
Diffstat (limited to 'target/linux/xburst')
-rwxr-xr-xtarget/linux/xburst/base-files/etc/board.d/01_system12
1 files changed, 12 insertions, 0 deletions
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 0000000000..16f4987aae
--- /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