ensure that hotplug is epmty

This commit is contained in:
Jack L. Frost 2015-10-13 12:34:00 +03:00
parent 78de46369c
commit e9f7c27258
1 changed files with 5 additions and 0 deletions

View File

@ -4,3 +4,8 @@
service_command='/usr/bin/vdevd'
service_args=( -f /dev )
service_tmpfiles=( '/run/vdev:dir' '/run/udev:symlink:/dev/metadata/udev' )
pre_start() {
# Ensure that hotplug is empty
true > /proc/sys/kernel/hotplug
}