aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2016-08-13 14:04:23 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2016-08-13 15:49:51 +0200
commit780ccbf9f1ca60ecb6f125fb6d6d3a0652446685 (patch)
treefea929a86e99f5b060fe2a38896bbe01bfa835f7 /package/base-files/files/lib
parente934a129f086435a39c663375d41367a54783b39 (diff)
downloadupstream-780ccbf9f1ca60ecb6f125fb6d6d3a0652446685.tar.gz
upstream-780ccbf9f1ca60ecb6f125fb6d6d3a0652446685.tar.bz2
upstream-780ccbf9f1ca60ecb6f125fb6d6d3a0652446685.zip
base-files: board_detect: allow specifying the generated file
Allow passing a filename to change the location of the generated board.json. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'package/base-files/files/lib')
-rwxr-xr-xpackage/base-files/files/lib/functions/uci-defaults.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh
index 8c954374a9..a88308bbd0 100755
--- a/package/base-files/files/lib/functions/uci-defaults.sh
+++ b/package/base-files/files/lib/functions/uci-defaults.sh
@@ -1,7 +1,5 @@
#!/bin/ash
-CFG=/etc/board.json
-
. /lib/functions.sh
. /usr/share/libubox/jshn.sh