treewide: drop shebang from non-executable lib files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 25 Jan 2021 00:00:20 +0000 (01:00 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 25 Jan 2021 17:53:30 +0000 (18:53 +0100)
commit4ea9360bc838b57473ddc7c8a9d65e524161b8f8
treee402717361c4ef50e65c582a09a3f13eb6409c44
parente3088057844494965420f109be14fced2fabf336
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