forked from Spark/ssm-services
		
	ensure that hotplug is epmty
This commit is contained in:
		| @@ -4,3 +4,8 @@ | |||||||
| service_command='/usr/bin/vdevd' | service_command='/usr/bin/vdevd' | ||||||
| service_args=( -f /dev ) | service_args=( -f /dev ) | ||||||
| service_tmpfiles=( '/run/vdev:dir' '/run/udev:symlink:/dev/metadata/udev' ) | service_tmpfiles=( '/run/vdev:dir' '/run/udev:symlink:/dev/metadata/udev' ) | ||||||
|  |  | ||||||
|  | pre_start() { | ||||||
|  | 	# Ensure that hotplug is empty | ||||||
|  | 	true > /proc/sys/kernel/hotplug | ||||||
|  | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user