aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/mdev.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-22 09:43:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-22 09:43:27 +0000
commit3276e925833aa78a9dcce9819b63fd6876ec3751 (patch)
tree4928f84a34567b93f3c35452eec660dd02a96f18 /main/busybox-initscripts/mdev.conf
parent6645fef357b5df23c46a7397861e357c975708bd (diff)
downloadaports-3276e925833aa78a9dcce9819b63fd6876ec3751.tar.bz2
aports-3276e925833aa78a9dcce9819b63fd6876ec3751.tar.xz
main/busybox-initscripts: minor mdev fixes
got hints from solar
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 5a86a9cd6d..ce6aa4e9fe 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