forked from Spark/ssm-services
9
services/smdev
Executable file
9
services/smdev
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command=( /usr/bin/smdev -s )
|
||||
|
||||
post_start() {
|
||||
echo "Enabling hotplug..."
|
||||
echo /bin/smdev > /proc/sys/kernel/hotplug
|
||||
}
|
Reference in New Issue
Block a user