0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-27 23:34:30 +00:00
openwrt/package/base-files/files/lib/preinit/02_default_set_state
Adrian Schmutzler 331892f85f 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>
2021-01-29 14:29:41 +01:00

6 lines
100 B
Plaintext

define_default_set_state() {
. /etc/diag.sh
}
boot_hook_add preinit_main define_default_set_state