diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-06-06 23:13:41 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-06-16 14:26:33 +0200 |
commit | 48c1fdd046f409fd5e28932f1d53343fa214fbc4 (patch) | |
tree | dbb50ccfc798d6cdd615c138a9fccdc8d04186d5 /target/linux/bcm47xx/base-files | |
parent | b7a8a5454226f34256c5d76480dda5abb1308395 (diff) | |
download | upstream-48c1fdd046f409fd5e28932f1d53343fa214fbc4.tar.gz upstream-48c1fdd046f409fd5e28932f1d53343fa214fbc4.tar.bz2 upstream-48c1fdd046f409fd5e28932f1d53343fa214fbc4.zip |
treewide: drop shebang from non-executable target files
This drops the shebang from all target files for /lib and
/etc/uci-defaults folders, as these are sourced and the shebang
is useless.
While at it, fix the executable flag on a few of these files.
This does not touch ar71xx, as this target is just used for
backporting now and applying cosmetic changes would just complicate
things.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/bcm47xx/base-files')
3 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/bcm47xx/base-files/etc/uci-defaults/03_network_migration b/target/linux/bcm47xx/base-files/etc/uci-defaults/03_network_migration index e430b41d48..3b380e047a 100644 --- a/target/linux/bcm47xx/base-files/etc/uci-defaults/03_network_migration +++ b/target/linux/bcm47xx/base-files/etc/uci-defaults/03_network_migration @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2014-2015 OpenWrt.org # diff --git a/target/linux/bcm47xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/bcm47xx/base-files/etc/uci-defaults/09_fix_crc index 346a532998..e9104a51cb 100644 --- a/target/linux/bcm47xx/base-files/etc/uci-defaults/09_fix_crc +++ b/target/linux/bcm47xx/base-files/etc/uci-defaults/09_fix_crc @@ -1,7 +1,5 @@ -#!/bin/sh # # Copyright (C) 2007 OpenWrt.org # -# mtd fixtrx firmware diff --git a/target/linux/bcm47xx/base-files/lib/preinit/01_sysinfo b/target/linux/bcm47xx/base-files/lib/preinit/01_sysinfo index 8c7bd399da..7cd0da5aab 100644 --- a/target/linux/bcm47xx/base-files/lib/preinit/01_sysinfo +++ b/target/linux/bcm47xx/base-files/lib/preinit/01_sysinfo @@ -1,5 +1,3 @@ -#!/bin/sh - do_sysinfo_bcm47xx() { local boardtype="$(nvram get boardtype)" local boardnum="$(nvram get boardnum)" |