From: Jo-Philipp Wich Date: Tue, 31 May 2016 12:23:06 +0000 (+0200) Subject: xburst: add /etc/config/system overrides via board.d X-Git-Tag: v17.01.0-rc1~2479 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=168ba1a28eab466aa03b1bf13c4197625648fd02;p=openwrt%2Fstaging%2Fxback.git 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 --- 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