summaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/mdev.conf
diff options
context:
space:
mode:
authorCedric Schieli <cschieli@gmail.com>2010-06-01 12:37:47 +0000
committerCedric Schieli <cschieli@gmail.com>2010-06-01 12:37:47 +0000
commit10b8b99e48384b4470cac1330080c12d2ade01de (patch)
tree7bb4ad6cd94a2c9a960fd9a4532d123eee5151d5 /main/busybox-initscripts/mdev.conf
parent9252f1cfd78299b137400ed8169a79f7f833daac (diff)
parentc6c0b6f9dbde1244e7b31f74c703178a867e873f (diff)
downloadaports-10b8b99e48384b4470cac1330080c12d2ade01de.tar.bz2
aports-10b8b99e48384b4470cac1330080c12d2ade01de.tar.xz
Merge remote branch 'upstream/master' into to-upstreamto-upstream
Diffstat (limited to 'main/busybox-initscripts/mdev.conf')
-rw-r--r--main/busybox-initscripts/mdev.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index 5a86a9cd..ce6aa4e9 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
@@ -17,7 +17,10 @@ urandom root:root 0444
hwrandom root:root 0660
# console does already exist; therefore ownership has to be changed with command
-console root:tty 0600 @chmod 600 $MDEV && mkdir -p vc && ln -sf ../$MDEV vc/0
+#console root:tty 0600 @chmod 600 $MDEV && mkdir -p vc && ln -sf ../$MDEV vc/0
+console root:tty 0600 @mkdir -pm 755 fd && cd fd && for x in 0 1 2 3 ; do ln -sf /proc/self/fd/$x $x; done
+
+
fd0 root:floppy 0660
kmem root:root 0640
mem root:root 0640