ssm-services/services/smdev
fbt d85b1945e9 kek
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-10 20:44:17 +03:00

10 lines
171 B
Plaintext
Executable File

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