From 48c1fdd046f409fd5e28932f1d53343fa214fbc4 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sat, 6 Jun 2020 23:13:41 +0200 Subject: 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 --- .../linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth | 2 -- target/linux/layerscape/base-files/lib/upgrade/platform.sh | 1 - 2 files changed, 3 deletions(-) (limited to 'target/linux/layerscape/base-files') 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 # -- cgit v1.2.3