treewide: remove execute bit and shebang from board.d files
[openwrt/openwrt.git] / target / linux / x86 / base-files / etc / board.d / 02_network
old mode 100755 (executable)
new mode 100644 (file)
index 5bfe609..8d10c63
@@ -1,4 +1,3 @@
-#!/bin/sh
 #
 # Copyright © 2017 OpenWrt.org
 #
@@ -8,10 +7,8 @@
 
 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)