From 9029e89e49d31a4f4148fa215d52bcdf7d73f7c8 Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 31 Oct 2015 18:07:33 +0300 Subject: [PATCH] run vdev once first --- init.d/vdevd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.d/vdevd b/init.d/vdevd index ebde571..7b00a8e 100755 --- a/init.d/vdevd +++ b/init.d/vdevd @@ -8,4 +8,6 @@ service_tmpfiles=( '/run/vdev:dir' '/run/udev:symlink:/dev/metadata/udev' ) pre_start() { # Ensure that hotplug is empty true > /proc/sys/kernel/hotplug + + "$service_command" -1 -f /dev &>"$service_logfile" }