smdev yo
This commit is contained in:
14
init.d/smdev
Executable file
14
init.d/smdev
Executable 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
|
||||
}
|
Reference in New Issue
Block a user