summaryrefslogtreecommitdiff
path: root/packages/busybox/files/mdev
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@koansoftware.com>2009-01-09 11:29:56 +0100
committerMarcin Juszkiewicz <hrw@koansoftware.com>2009-01-16 15:37:27 +0100
commit3ebd0de9a856c8d97a2993d985230a25dcea8947 (patch)
treedbe0bf86d9a3c289badf0986449dd043fb315a89 /packages/busybox/files/mdev
parent504311c49c8670f50af7ab32cf8f1b2fea102445 (diff)
busybox: improved mdev initscript and config
- do not mount /sys as it is already mounted - fixed hotplug handler (mdev is in /sbin not /bin) - fixed regexps in mdev.conf - alsa and input devnodes in proper directories
Diffstat (limited to 'packages/busybox/files/mdev')
-rwxr-xr-xpackages/busybox/files/mdev3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/busybox/files/mdev b/packages/busybox/files/mdev
index 6512730536..4eed51e94c 100755
--- a/packages/busybox/files/mdev
+++ b/packages/busybox/files/mdev
@@ -1,12 +1,11 @@
#!/bin/sh
-mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
mkdir /dev/pts /dev/shm
mount -t devpts devpts /dev/pts
-echo "/bin/mdev" >/proc/sys/kernel/hotplug
+echo "/sbin/mdev" >/proc/sys/kernel/hotplug
mdev -s