smdev yo
This commit is contained in:
parent
88f71c8868
commit
70a8441010
11
init.d/mdev
11
init.d/mdev
|
@ -1,9 +1,14 @@
|
||||||
#!/usr/bin/env watchman
|
#!/usr/bin/env watchman
|
||||||
|
|
||||||
service_command='/usr/local/sbin/mdev'
|
service_command='/bin/mdev'
|
||||||
service_rgs='-s'
|
service_args='-s'
|
||||||
|
|
||||||
hotplug() {
|
hotplug() {
|
||||||
echo "Enabling hotplug..."
|
echo "Enabling hotplug..."
|
||||||
echo /sbin/mdev > /proc/sys/kernel/hotplug
|
echo /bin/mdev > /proc/sys/kernel/hotplug
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
watchman.start
|
||||||
|
hotplug
|
||||||
}
|
}
|
||||||
|
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user