projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: remove execute bit and shebang from board.d files
[openwrt/openwrt.git]
/
target
/
linux
/
x86
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/x86/base-files/etc/board.d/02_network
b/target/linux/x86/base-files/etc/board.d/02_network
old mode 100755
(executable)
new mode 100644
(file)
index
5bfe609
..
8d10c63
--- a/
target/linux/x86/base-files/etc/board.d/02_network
+++ b/
target/linux/x86/base-files/etc/board.d/02_network
@@
-1,4
+1,3
@@
-#!/bin/sh
#
# Copyright © 2017 OpenWrt.org
#
#
# Copyright © 2017 OpenWrt.org
#
@@
-8,10
+7,8
@@
board_config_update
board_config_update
-board="$(cat /tmp/sysinfo/board_name)" 2>/dev/null
-
-case "$board" in
-pc-engines-apu|pc-engines-apu2)
+case "$(board_name)" in
+pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
traverse-technologies-geos)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
traverse-technologies-geos)