]> Zhao Yanbai Git Server - minix.git/commitdiff
mtree: drop /usr/local, add some pkgsrc dirs; /usr/etc/rc: pkgsrc rc.d
authorBen Gras <ben@minix3.org>
Tue, 3 Aug 2010 11:18:18 +0000 (11:18 +0000)
committerBen Gras <ben@minix3.org>
Tue, 3 Aug 2010 11:18:18 +0000 (11:18 +0000)
etc/mtree/minix.tree
etc/usr/rc

index 9864cae9395cce3589346bc4901fd5c344940067..25fdb078efd13c555101e558c444ff3e69125d1f 100644 (file)
@@ -16,6 +16,8 @@
 755 root    operator /usr/bin
 755 root    operator /usr/etc
 755 root    operator /usr/pkg
+755 root    operator /usr/pkg/etc
+755 root    operator /usr/pkg/etc/rc.d
 755 root    operator /home
 755 root    operator /usr/include
 755 root    operator /usr/include/arpa
 755 root    operator /usr/lib/m2
 755 root    operator /usr/libexec
 755 root    operator /usr/sbin
-775 root    operator /usr/local
-775 root    operator /usr/local/bin
-775 root    operator /usr/local/etc
-775 root    operator /usr/local/etc/rc.d
-775 root    operator /usr/local/include
-775 root    operator /usr/local/info
-775 root    operator /usr/local/lib
-775 root    operator /usr/local/lib/ack
-775 root    operator /usr/local/lib/gcc
-775 root    operator /usr/local/man
-775 root    operator /usr/local/src
-755  root   operator  /usr/local/man/man1
-755  root   operator  /usr/local/man/man2
-755  root   operator  /usr/local/man/man3
-755  root   operator  /usr/local/man/man4
-755  root   operator  /usr/local/man/man5
-755  root   operator  /usr/local/man/man6
-755  root   operator  /usr/local/man/man7
-755  root   operator  /usr/local/man/man8
-755  root   operator  /usr/local/man/man9
-775  root    operator  /usr/local/packages
-775  root    operator  /usr/local/share
-775  root    operator  /usr/local/src
 755  root    operator  /usr/man
 755  root    operator  /usr/man/man1
 755  root    operator  /usr/man/man1x
 755  root    operator  /var
 /var/log -> /usr/log
 755  root    operator  /usr/log
+755  root    operator  /usr/gnu
+755  root    operator  /usr/gnu/lib
 755  root    operator  /usr/var
 755  root    operator  /usr/var/db
 755  root    operator  /usr/var/db/pkg
+755  root    operator  /usr/var/run
 755  root    operator  /var/run
index 6c0735ca4a14838ecf3bd746d14b9ffc6537a0a9..86347a12e2aaf06d4ca72fd7203fa0089f94b5a3 100644 (file)
@@ -189,10 +189,12 @@ stop|down)
        fi
 esac
 
-d=/usr/local/etc/rc.d
+d=
 # Let packages run their own scripts
+for d in /usr/local/etc/rc.d /usr/pkg/etc/rc.d
+do
 if [ -d "$d" ]
-then   if cd $d
+then   if cd $d
        then
                echo -n "Local packages ($action): "
                for f in *
@@ -204,5 +206,6 @@ then        if cd $d
                done
                echo " done."
        fi
+       )
 fi
-
+done