]> Zhao Yanbai Git Server - minix.git/commitdiff
Add a /sys entry to minix.mtree
authorKees Jongenburger <kees.jongenburger@gmail.com>
Tue, 3 Jul 2012 11:43:42 +0000 (11:43 +0000)
committerKees Jongenburger <kees.jongenburger@gmail.com>
Thu, 5 Jul 2012 09:09:40 +0000 (11:09 +0200)
etc/mtree/minix.tree
etc/rc

index 46f122126e5ab12d1bf7429aa301cdc257898a91..e2cad7235fd43b17b3e5ffcc1054973b5478eeec 100644 (file)
@@ -16,6 +16,7 @@
 555  root   operator /proc
 700  root   operator /root
 755  root   operator /sbin
+755  root   operator /sys
 1777 root   operator /tmp
 755  root   operator /usr
 755  root   operator /usr/adm
diff --git a/etc/rc b/etc/rc
index a307b5027589d4352fcfa13c9af88fb08cdefc43..099ed966d6aba27d56db4911045287fefcf601d8 100755 (executable)
--- a/etc/rc
+++ b/etc/rc
@@ -189,10 +189,6 @@ start)
 
     echo -n "Starting hotplugging infrastructure... "
     service up /sbin/devman
-    if [ ! -d /sys ]
-    then
-        mkdir /sys
-    fi
     mount -e -t devman none /sys
     rm -f /var/tmp/devmand_control
     rm -f /var/run/devmand.pid