ssm-services/init.d/mdev
fbt 2205f72a2e watchman -> ssm
Signed-off-by: fbt <fbt@fleshless.org>
2017-07-13 16:09:42 +03:00

11 lines
184 B
Plaintext
Executable File

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