minix/commands/scripts/minixsize.sh
Ben Gras 509394f2ba autopart now guesses the bios drive number and the setup script tells it
to the user.

minixsize has fallback default sizes set before specifics set by input list.
2005-08-31 15:48:15 +00:00

11 lines
218 B
Bash

#!/bin/sh
t=/usr/src/etc/binary_sizes
if [ "$1" = big ]
then t=$t.big
fi
chmem =200000 /usr/lib/* /usr/lib/i386/*
if [ -f $t ]
then cat "$t" | while read line
do awk '{ print "chmem =" $2 " " $1 }'
done | /bin/sh
fi