mtree: drop /usr/local, add some pkgsrc dirs; /usr/etc/rc: pkgsrc rc.d

This commit is contained in:
Ben Gras 2010-08-03 11:18:18 +00:00
parent 4523163411
commit 9ce3961b8e
2 changed files with 11 additions and 26 deletions

View 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
@ -36,29 +38,6 @@
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
@ -88,7 +67,10 @@
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

View 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