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 --- target/linux/cns3xxx/base-files/lib/cns3xxx.sh | 2 -- target/linux/cns3xxx/base-files/lib/preinit/01_sysinfo | 2 -- 2 files changed, 4 deletions(-) (limited to 'target/linux/cns3xxx') diff --git a/target/linux/cns3xxx/base-files/lib/cns3xxx.sh b/target/linux/cns3xxx/base-files/lib/cns3xxx.sh index 877f9f8749..ec694c4f7a 100644 --- a/target/linux/cns3xxx/base-files/lib/cns3xxx.sh +++ b/target/linux/cns3xxx/base-files/lib/cns3xxx.sh @@ -1,5 +1,3 @@ -#!/bin/sh - CNS3XXX_BOARD_NAME= CNS3XXX_MODEL= diff --git a/target/linux/cns3xxx/base-files/lib/preinit/01_sysinfo b/target/linux/cns3xxx/base-files/lib/preinit/01_sysinfo index cc7b5551e9..155fee42e0 100644 --- a/target/linux/cns3xxx/base-files/lib/preinit/01_sysinfo +++ b/target/linux/cns3xxx/base-files/lib/preinit/01_sysinfo @@ -1,5 +1,3 @@ -#!/bin/sh - do_sysinfo_cns3xxx() { . /lib/cns3xxx.sh -- cgit v1.2.3