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>
This commit is contained in:
Jonas Gorski
2016-08-13 14:04:23 +02:00
parent e934a129f0
commit 780ccbf9f1
2 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
#!/bin/ash
CFG=/etc/board.json
. /lib/functions.sh
. /usr/share/libubox/jshn.sh