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
+6 -3
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