ssm-services/services/mdev

10 lines
169 B
Plaintext
Raw Normal View History

#!/usr/bin/env ssm
2013-09-28 23:32:39 +00:00
2014-08-01 01:30:28 +00:00
service_type='oneshot'
service_command=( /usr/bin/mdev -s )
2013-09-28 23:32:39 +00:00
2015-09-04 13:47:37 +00:00
post_start() {
2013-09-28 23:32:39 +00:00
echo "Enabling hotplug..."
2014-08-01 01:27:13 +00:00
echo /bin/mdev > /proc/sys/kernel/hotplug
}