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