treewide: remove execute bit and shebang from board.d files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 26 Feb 2021 13:43:50 +0000 (14:43 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 6 Mar 2021 10:30:06 +0000 (11:30 +0100)
commit85b1f4d8ca2d501664acce471117dc612bb69d82
tree000eebacaa54e49940d797da8c5ee4f2d34bed22
parentb021642cacd1b88836e5906bb2d3397b1de16da9
treewide: remove execute bit and shebang from board.d files

So far, board.d files were having execute bit set and contained a
shebang. However, they are just sourced in board_detect, with an
apparantly unnecessary check for execute permission beforehand.

Replace this check by one for existance and make the board.d files
"normal" files, as would be expected in /etc anyway.

Note:

This removes an apparantly unused '#!/bin/sh /etc/rc.common' in
target/linux/bcm47xx/base-files/etc/board.d/01_network

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
92 files changed:
package/base-files/files/bin/board_detect
package/base-files/files/etc/board.d/99-default_network [changed mode: 0755->0644]
target/linux/apm821xx/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/apm821xx/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/arc770/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/archs38/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/armvirt/base-files/etc/board.d/00_model [changed mode: 0755->0644]
target/linux/at91/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ath25/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ath25/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ath79/generic/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ath79/generic/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches [changed mode: 0755->0644]
target/linux/ath79/mikrotik/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ath79/mikrotik/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ath79/nand/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ath79/nand/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ath79/tiny/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ath79/tiny/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/bcm27xx/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/bcm47xx/base-files/etc/board.d/01_network [changed mode: 0755->0644]
target/linux/bcm4908/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/bcm53xx/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/bcm53xx/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/bcm63xx/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/bcm63xx/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/bmips/generic/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/bmips/nand/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/gemini/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/imx6/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ipq40xx/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ipq40xx/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches [changed mode: 0755->0644]
target/linux/ipq806x/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ipq806x/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/kirkwood/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/kirkwood/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/kirkwood/base-files/etc/board.d/03_gpio_switches [changed mode: 0755->0644]
target/linux/kirkwood/base-files/etc/board.d/05_compat-version [changed mode: 0755->0644]
target/linux/lantiq/ase/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/lantiq/ase/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/lantiq/falcon/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/lantiq/xrx200/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/lantiq/xway/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/lantiq/xway/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/lantiq/xway_legacy/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/lantiq/xway_legacy/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/layerscape/base-files/etc/board.d/01_led [changed mode: 0755->0644]
target/linux/layerscape/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/layerscape/base-files/etc/board.d/03_gpio_switches [changed mode: 0755->0644]
target/linux/malta/base-files/etc/board.d/00_model [changed mode: 0755->0644]
target/linux/malta/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mediatek/mt7622/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mediatek/mt7623/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mediatek/mt7629/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mpc85xx/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mvebu/cortexa53/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/mvebu/cortexa53/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mvebu/cortexa9/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/mvebu/cortexa9/base-files/etc/board.d/05_compat-version [changed mode: 0755->0644]
target/linux/mxs/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/octeon/base-files/etc/board.d/01_network [changed mode: 0755->0644]
target/linux/octeontx/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/oxnas/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/pistachio/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ramips/mt7620/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ramips/mt7620/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ramips/mt7620/base-files/etc/board.d/03_gpio_switches [changed mode: 0755->0644]
target/linux/ramips/mt7621/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ramips/mt7621/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches [changed mode: 0755->0644]
target/linux/ramips/mt7621/base-files/etc/board.d/05_compat-version [changed mode: 0755->0644]
target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ramips/rt288x/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ramips/rt288x/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ramips/rt305x/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ramips/rt305x/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/ramips/rt3883/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/ramips/rt3883/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/realtek/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/realtek/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/rockchip/armv8/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/rockchip/armv8/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/sunxi/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/sunxi/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/x86/base-files/etc/board.d/01_leds [changed mode: 0755->0644]
target/linux/x86/base-files/etc/board.d/02_network [changed mode: 0755->0644]
target/linux/zynq/base-files/etc/board.d/02_network [changed mode: 0755->0644]