diff --git a/init.d/mdev b/init.d/mdev index 83adcc4..7fa8fb5 100755 --- a/init.d/mdev +++ b/init.d/mdev @@ -1,9 +1,14 @@ #!/usr/bin/env watchman -service_command='/usr/local/sbin/mdev' -service_rgs='-s' +service_command='/bin/mdev' +service_args='-s' hotplug() { echo "Enabling hotplug..." - echo /sbin/mdev > /proc/sys/kernel/hotplug + echo /bin/mdev > /proc/sys/kernel/hotplug +} + +start() { + watchman.start + hotplug } diff --git a/init.d/smdev b/init.d/smdev new file mode 100755 index 0000000..f6ca18b --- /dev/null +++ b/init.d/smdev @@ -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 +}