projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
base-files: board.d: auto-set model id and name if /tmp/sysinfo is available
[openwrt/openwrt.git]
/
target
/
linux
/
mvebu
/
base-files
/
etc
/
board.d
/
00_model
1
#!/bin/sh
2
# Copyright (C) 2015 OpenWrt.org
3
4
.
/
lib
/
function
s
/
uci-defaults-new.sh
5
6
board_config_update
7
8
ucidef_set_board_id
"$(cat /tmp/sysinfo/board_name)"
9
ucidef_set_model_name
"$(cat /tmp/sysinfo/model)"
10
11
board_config_flush
12
13
exit
0