11 lines
186 B
Plaintext
Executable File
11 lines
186 B
Plaintext
Executable File
#!/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
|
|
}
|