diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-24 09:07:39 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-24 09:07:39 +0300 |
commit | 4895c4cc0518339d45ccf1d6e9843a2ff9f9ff32 (patch) | |
tree | b0e5d6070ebe3dff5c07b8875ab9ba3c5f181cd8 | |
parent | c46107cb12306aaa81a0a6b363f8f01c9d469ddb (diff) | |
download | init-4895c4cc0518339d45ccf1d6e9843a2ff9f9ff32.tar.gz |
run rc.local before other boot-hooks
-rwxr-xr-x | rc.boot | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -159,6 +159,12 @@ command -v udevd >/dev/null && udevadm control --exit +out "Running /etc/init/rc.local..."; { + [ -r "/etc/init/rc.local" ] && \ + . /etc/init/rc.local +} + + out "Running boot hooks..." set +f for file in /etc/init/*.boot ; do @@ -166,10 +172,4 @@ for file in /etc/init/*.boot ; do out "Running $file" && . "$file" done -out "Running /etc/init/rc.local..."; { - [ -r "/etc/init/rc.local" ] && \ - . /etc/init/rc.local -} - - out "Boot stage complete..." |