Remove the minix 'cpdir' command alias.
Change-Id: If51dcc8cb2f46e375638f1e2e4e8baddb790ab2c
This commit is contained in:
@@ -697,7 +697,7 @@ mount /dev/$usr /mnt >/dev/null || exit # Mount the intended /usr.
|
||||
list="`ls | fgrep -v install`"
|
||||
for d in $list
|
||||
do
|
||||
cpdir -v $d /mnt/$d
|
||||
cp -psmr -v $d /mnt/$d
|
||||
done
|
||||
) | progressbar "$USRFILES" || exit # Copy the usr floppy.
|
||||
|
||||
@@ -705,7 +705,7 @@ umount /dev/$usr >/dev/null || exit # Unmount the intended /usr.
|
||||
mount /dev/$root /mnt >/dev/null || exit
|
||||
|
||||
# Running from the installation CD.
|
||||
cpdir -vx / /mnt | progressbar "$ROOTFILES" || exit
|
||||
cp -psmr -vx / /mnt | progressbar "$ROOTFILES" || exit
|
||||
chmod o-w /mnt/usr
|
||||
cp /mnt/etc/motd.install /mnt/etc/motd
|
||||
|
||||
@@ -753,7 +753,7 @@ then if mount /dev/$home /home 2>/dev/null
|
||||
do h=`eval echo "~$u"`
|
||||
if mkdir $h
|
||||
then echo " * Creating home directory for $u in $h"
|
||||
cpdir /usr/ast $h
|
||||
cp -psmr /usr/ast $h
|
||||
chown -R $u:operator $h
|
||||
else echo " * Couldn't create $h"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user