ramips: dont replace the board name
Use fixed led names and add each board variant instead of manipulating the board name. It makes the ramips board name function less different to the one used in other targets and allows to merge them with a common function. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
@@ -696,5 +696,5 @@ ramips_board_name() {
|
||||
[ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
|
||||
[ -z "$name" ] && name="unknown"
|
||||
|
||||
echo "${name%-[0-9]*M}"
|
||||
echo "${name}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user