forked from Spark/ssm-services
10 lines
171 B
Plaintext
Executable File
10 lines
171 B
Plaintext
Executable File
#!/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
|
|
}
|