run vdev once first

This commit is contained in:
Jack L. Frost 2015-10-31 18:07:33 +03:00
parent 26e023157a
commit 9029e89e49

View File

@ -8,4 +8,6 @@ service_tmpfiles=( '/run/vdev:dir' '/run/udev:symlink:/dev/metadata/udev' )
pre_start() { pre_start() {
# Ensure that hotplug is empty # Ensure that hotplug is empty
true > /proc/sys/kernel/hotplug true > /proc/sys/kernel/hotplug
"$service_command" -1 -f /dev &>"$service_logfile"
} }