This commit is contained in:
2014-08-01 05:27:13 +04:00
parent 88f71c8868
commit 70a8441010
2 changed files with 22 additions and 3 deletions

14
init.d/smdev Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env watchman
service_command='/bin/smdev'
service_args='-s'
hotplug() {
echo "Enabling hotplug..."
echo /bin/smdev > /proc/sys/kernel/hotplug
}
start() {
watchman.start
hotplug
}