2017-07-13 16:09:42 +03:00
|
|
|
#!/usr/bin/env ssm
|
2014-08-01 05:27:13 +04:00
|
|
|
|
2014-08-01 05:30:28 +04:00
|
|
|
service_type='oneshot'
|
2017-12-10 20:44:17 +03:00
|
|
|
service_command=( /usr/bin/smdev -s )
|
2014-08-01 05:27:13 +04:00
|
|
|
|
2015-09-04 16:47:37 +03:00
|
|
|
post_start() {
|
2014-08-01 05:27:13 +04:00
|
|
|
echo "Enabling hotplug..."
|
|
|
|
echo /bin/smdev > /proc/sys/kernel/hotplug
|
|
|
|
}
|