aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-18 23:56:21 +0300
committerCem Keylan <cem@ckyln.com>2020-01-18 23:56:21 +0300
commit5d62e2705368673301827afe5dc53991b58fc414 (patch)
tree92e21cfa70fc60bbdd7fa72aa69c37cd523629bc
parentce1a55bbe809ba0ae8a58cbc66cd2f2f6b21bb18 (diff)
downloadinit-5d62e2705368673301827afe5dc53991b58fc414.tar.gz
rc.boot: kill udevd before boot hooks
-rwxr-xr-xrc.boot7
1 files changed, 5 insertions, 2 deletions
diff --git a/rc.boot b/rc.boot
index 40e74ed..cde7726 100755
--- a/rc.boot
+++ b/rc.boot
@@ -154,6 +154,11 @@ out "Loading sysctl settings..."; {
done
}
+
+command -v udevd >/dev/null &&
+ udevadm control --exit
+
+
out "Running boot hooks..."
set +f
for file in /etc/init/*.boot ; do
@@ -166,7 +171,5 @@ out "Running rc.local..."; {
. /etc/init/rc.local
}
-command -v udevd >/dev/null &&
- udevadm control --exit
out "Boot stage complete..."