treewide: drop shebang from non-executable lib files

This drops the shebang from another bunch of files in various /lib
folders, as these are sourced and the shebang is useless.

Fix execute bit in one case, too.

This should cover almost all trivial cases now, i.e. where /lib is
actually used for library files.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler
2021-01-25 12:48:42 +01:00
parent 2c35899d81
commit 331892f85f
23 changed files with 2 additions and 33 deletions

View File

@@ -1,8 +1,5 @@
#!/bin/sh
set_preinit_iface() {
ifname=eth0
}
boot_hook_add preinit_main set_preinit_iface

View File

@@ -1,5 +1,3 @@
#!/bin/sh
. /lib/upgrade/common.sh
RECOVERY_PART=/dev/mmcblk0p6

View File

@@ -1,5 +1,3 @@
#!/bin/sh
move_config() {
local partdev
@@ -19,4 +17,3 @@ move_config() {
}
boot_hook_add preinit_mount_root move_config