From: Ben Gras Date: Thu, 16 Mar 2006 13:38:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.2a~211 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/howto.html?a=commitdiff_plain;h=af189061a829bfb4ed955b74101c8e1fc4ce6387;p=minix.git *** empty log message *** --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 033561c6f..97bf95ca8 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -641,11 +641,11 @@ echo "Install is done. Running postinstall script.." # Now chroot-mount the new system and run the postinstall script umount /dev/$usr || exit 1 -umount /dev/${cddrive}p2 +umount ${cddrive}p2 mount /dev/$root /mnt || exit 1 mount /dev/$usr /mnt/usr || exit 1 chroot /mnt '/bin/sh /usr/src/commands/scripts/postinstall.sh' -mount -r /dev/${cddrive}p2 /usr +mount -r ${cddrive}p2 /usr echo "Postinstall script done. Saving random data.." dd if=/dev/random of=/mnt/usr/adm/random.dat bs=1024 count=1