]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorBen Gras <ben@minix3.org>
Wed, 31 Aug 2005 16:55:34 +0000 (16:55 +0000)
committerBen Gras <ben@minix3.org>
Wed, 31 Aug 2005 16:55:34 +0000 (16:55 +0000)
commands/scripts/setup.sh

index 3f53ea876e7cdb94a3e0486e90933c629ea01ee5..a2982e5e2d53587e5bd0d14f4d8909c21280aa81 100755 (executable)
@@ -45,16 +45,6 @@ then echo "Please run setup as root."
        exit 1
 fi
 
-# Installing MINIX on the hard disk.
-
-case "$0" in
-/tmp/*)
-    rm -f "$0"
-    ;;
-*)  cp -p "$0" /tmp/setup
-    exec /tmp/setup
-esac
-
 # Find out what we are running from.
 exec 9<&0 </etc/mtab                   # Mounted file table.
 read thisroot rest                     # Current root (/dev/ram or /dev/fd?)
@@ -304,7 +294,7 @@ then        homesize=""
        done
        # Homesize in sectors
        homemb="$homesize MB"
-       homesize="`expr $homesize '*' 1024 '*' 1024 '*' 2`"
+       homesize="`expr $homesize '*' 1024 '*' 2`"
 else
        # Homesize unchanged (reinstall)
        homesize=exist