ssm-services/init.d/mdev
2015-06-18 12:38:49 +03:00

16 lines
222 B
Plaintext
Executable File

#!/usr/bin/env watchman
service_type='oneshot'
service_command='/usr/bin/mdev'
service_args='-s'
hotplug() {
echo "Enabling hotplug..."
echo /bin/mdev > /proc/sys/kernel/hotplug
}
start() {
watchman.start
hotplug
}