treewide: drop shebang from non-executable lib files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 25 Jan 2021 11:48:42 +0000 (12:48 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 29 Jan 2021 13:29:41 +0000 (14:29 +0100)
commit331892f85f1cfab21b26a1f84824f4110e06027f
tree675577fa4f606e0afdaa04371cbcdfacb7595ab6
parent2c35899d8196c3c4f02c9b788b99a8a3bbbb32d1
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>
23 files changed:
package/base-files/files/lib/functions/leds.sh
package/base-files/files/lib/functions/migrations.sh
package/base-files/files/lib/functions/preinit.sh
package/base-files/files/lib/functions/uci-defaults.sh [changed mode: 0755->0644]
package/base-files/files/lib/preinit/02_default_set_state
package/base-files/files/lib/preinit/10_indicate_failsafe
package/base-files/files/lib/preinit/10_indicate_preinit
package/base-files/files/lib/preinit/30_failsafe_wait
package/base-files/files/lib/preinit/40_run_failsafe_hook
package/base-files/files/lib/preinit/50_indicate_regular_preinit
package/base-files/files/lib/preinit/70_initramfs_test
package/base-files/files/lib/preinit/80_mount_root
package/base-files/files/lib/preinit/99_10_failsafe_login
package/base-files/files/lib/preinit/99_10_run_init
package/base-files/files/lib/upgrade/common.sh
package/base-files/files/lib/upgrade/nand.sh
package/system/uci/Makefile
package/system/uci/files/lib/config/uci.sh
package/system/urandom-seed/Makefile
package/system/urandom-seed/files/lib/preinit/81_urandom_seed
target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq
target/linux/mediatek/mt7622/base-files/lib/preinit/79_move_config
target/linux/tegra/base-files/lib/preinit/79_move_config