diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-13 20:19:26 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-13 20:19:26 +0300 |
commit | 7448b0a31bb899a136157272aa5d9767566ab0cc (patch) | |
tree | e8a977430706405a87682e0420724b13d63cfa09 /rc.boot | |
parent | 829d56ed67ede66c7bff3276c683325a273064dc (diff) | |
download | init-7448b0a31bb899a136157272aa5d9767566ab0cc.tar.gz |
remove run_hooks function for sinit option parsing
Diffstat (limited to 'rc.boot')
-rwxr-xr-x | rc.boot | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -154,9 +154,11 @@ out "Loading sysctl settings..."; { done } -out "Running boot hooks..."; { - run_hooks /etc/init/*.boot -} +out "Running boot hooks..." +set +f +for file in /etc/init/*.boot ; do + [ -f "$file" ] && . "$file" +done out "Running rc.local..."; { [ -r "/etc/init/rc.local" ] && \ |