projects
/
openwrt
/
staging
/
noltari.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base-files: rework config generation logic
[openwrt/staging/noltari.git]
/
package
/
base-files
/
files
/
bin
/
board_detect
diff --git
a/package/base-files/files/bin/board_detect
b/package/base-files/files/bin/board_detect
index ee04b9e64dc7332bb7d1d19b906ccab47b625f61..beb7f4e6596584d0a423a88a168ec264b4b44008 100755
(executable)
--- a/
package/base-files/files/bin/board_detect
+++ b/
package/base-files/files/bin/board_detect
@@
-8,7
+8,5
@@
}
[ -f "/etc/board.json" ] || return 1
}
[ -f "/etc/board.json" ] || return 1
-[ -f "/etc/config/network" ] || {
- touch /etc/config/network
- /bin/config_generate
-}
+
+/bin/config_generate