diff options
author | joe <joe@FreeBSD.org> | 2001-09-20 13:09:01 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-09-20 13:09:01 +0000 |
commit | a888294e8562ccb3993f9aeb7feeaf8d872751a8 (patch) | |
tree | c16aa81df7d4e8e4220a8c16c65a8f91ab3f14d5 /release | |
parent | 88406011aade95eec8726111b722674dd2f4e944 (diff) | |
download | FreeBSD-src-a888294e8562ccb3993f9aeb7feeaf8d872751a8.zip FreeBSD-src-a888294e8562ccb3993f9aeb7feeaf8d872751a8.tar.gz |
Relocate the memory disk selection code to the same place the other
variables are set.
Diffstat (limited to 'release')
-rwxr-xr-x | release/picobsd/build/picobsd | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd index ebd0f73..94b99a0 100755 --- a/release/picobsd/build/picobsd +++ b/release/picobsd/build/picobsd @@ -43,15 +43,6 @@ # VAR=${VAR:-value} construct for those variables which can # be overridden from the command line. -# select the right memory disk name -case `uname -r` in - 5.*) - VN="md" - ;; - *) - VN="vn" -esac - init_vars() { # OK # if you include the floppy tree in the mfs, you # can boot from the image via diskless. Default to yes. @@ -69,6 +60,15 @@ init_vars() { # OK PICO_TREE=${PICO_TREE:-${SRC}/release/picobsd} START_DIR=`pwd` + # select the right memory disk name + case `uname -r` in + 5.*) + VN="md" + ;; + *) + VN="vn" + esac + # Various temporary files and directories. # User replies will be put in $RISU RISU=${RISU:-`mktemp "/tmp/reply.XXXXXXXXXX"`} |