ssm-services/init.d/vdevd
2015-10-31 18:07:33 +03:00

14 lines
318 B
Plaintext
Executable File

#!/usr/bin/env watchman
#service_respawn='true'
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
"$service_command" -1 -f /dev &>"$service_logfile"
}