aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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/ramips
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/ramips')
-rw-r--r--target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum1
-rw-r--r--target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration2
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration2
-rw-r--r--target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master2
-rw-r--r--target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration2
-rw-r--r--target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration2
-rw-r--r--target/linux/ramips/rt305x/base-files/lib/preinit/04_handle_checksumming2
-rw-r--r--target/linux/ramips/rt3883/base-files/lib/preinit/04_handle_checksumming2
8 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum
index 482659a2f6..f2408f8f3e 100644
--- a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum
+++ b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum
@@ -1,4 +1,3 @@
-#!/bin/sh
#
# Copyright (C) 2012 OpenWrt.org
#
diff --git a/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration
index ba1a0df7e6..16ccd5cfef 100644
--- a/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration
@@ -1,5 +1,3 @@
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
diff --git a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration
index 1248dcec0f..f9cf3eae0a 100644
--- a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration
@@ -1,5 +1,3 @@
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
diff --git a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master b/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master
index b8ebcc3f41..9a0da1716d 100644
--- a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master
+++ b/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master
@@ -1,5 +1,3 @@
-#!/bin/sh
-
. /lib/functions.sh
mt7621_bringup_dsa_master() {
diff --git a/target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration
index 3f9f615c10..44815b2ddc 100644
--- a/target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration
@@ -1,5 +1,3 @@
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
diff --git a/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration
index b1a94bf81b..1009154cac 100644
--- a/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration
@@ -1,5 +1,3 @@
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
diff --git a/target/linux/ramips/rt305x/base-files/lib/preinit/04_handle_checksumming b/target/linux/ramips/rt305x/base-files/lib/preinit/04_handle_checksumming
index 9a2361d057..e2e08937a3 100644
--- a/target/linux/ramips/rt305x/base-files/lib/preinit/04_handle_checksumming
+++ b/target/linux/ramips/rt305x/base-files/lib/preinit/04_handle_checksumming
@@ -1,5 +1,3 @@
-#!/bin/sh
-
# Netgear WNCE2001 has does a checksum check on boot and goes into recovery
# tftp mode when the check fails. Initializing the JFFS2 partition triggers
# this, so we make sure to zero checksum and size to be checksummed before
diff --git a/target/linux/ramips/rt3883/base-files/lib/preinit/04_handle_checksumming b/target/linux/ramips/rt3883/base-files/lib/preinit/04_handle_checksumming
index e2aef5f1f2..62927ff974 100644
--- a/target/linux/ramips/rt3883/base-files/lib/preinit/04_handle_checksumming
+++ b/target/linux/ramips/rt3883/base-files/lib/preinit/04_handle_checksumming
@@ -1,5 +1,3 @@
-#!/bin/sh
-
# Netgear WNCE2001 has does a checksum check on boot and goes into recovery
# tftp mode when the check fails. Initializing the JFFS2 partition triggers
# this, so we make sure to zero checksum and size to be checksummed before