diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-23 02:27:11 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-23 02:27:11 +0300 |
commit | 067cc3d2ec25058b16702e88f50b23586f818731 (patch) | |
tree | b7851a6177474b3332443765446e79b30cebf10e | |
parent | a298ae2cbef1a79df67dff42a15e0b048504035f (diff) | |
download | init-067cc3d2ec25058b16702e88f50b23586f818731.tar.gz |
rc.boot: use device_helper functions
-rwxr-xr-x | rc.boot | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -38,12 +38,8 @@ out "Parsing kernel commandline..."; { dmesg -n$dmesg_level } -command -v udevd >/dev/null && { - out "Starting eudev..." - udevd --daemon - udevadm trigger --action=add --type=subsystems - udevadm trigger --action=add --type=devices - udevadm settle +out "Starting device manager..."; { + device_helper settle } out "Remounting rootfs as read-only..."; { @@ -103,9 +99,9 @@ out "Loading sysctl settings..."; { } -command -v udevd >/dev/null && - udevadm control --exit - +out "Stopping device manager..."; { + device_helper exit +} run_hook boot |