aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-06 23:13:41 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-16 14:26:33 +0200
commit48c1fdd046f409fd5e28932f1d53343fa214fbc4 (patch)
treedbb50ccfc798d6cdd615c138a9fccdc8d04186d5 /target/linux/layerscape
parentb7a8a5454226f34256c5d76480dda5abb1308395 (diff)
downloadupstream-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/layerscape')
-rw-r--r--target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth2
-rw-r--r--target/linux/layerscape/base-files/lib/upgrade/platform.sh1
2 files changed, 0 insertions, 3 deletions
diff --git a/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth b/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
index c4feec42bc..141aac8a6d 100644
--- a/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
+++ b/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
@@ -1,5 +1,3 @@
-#!/bin/sh
-
reorder_layerscape_interfaces() {
if [ ! -f /tmp/sysinfo/board_name ]; then
echo "No board name found, not doing reorder_layerscape_interfaces"
diff --git a/target/linux/layerscape/base-files/lib/upgrade/platform.sh b/target/linux/layerscape/base-files/lib/upgrade/platform.sh
index 013023295b..1e1e28987b 100644
--- a/target/linux/layerscape/base-files/lib/upgrade/platform.sh
+++ b/target/linux/layerscape/base-files/lib/upgrade/platform.sh
@@ -1,4 +1,3 @@
-#!/bin/sh
#
# Copyright 2015-2019 Traverse Technologies
#