ssm-services/init.d/smdev
2015-09-04 16:47:37 +03:00

11 lines
191 B
Plaintext
Executable File

#!/usr/bin/env watchman
service_type='oneshot'
service_command='/usr/bin/smdev'
service_args=( -s )
post_start() {
echo "Enabling hotplug..."
echo /bin/smdev > /proc/sys/kernel/hotplug
}