mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Relocate the memory disk selection code to the same place the other
variables are set.
This commit is contained in:
parent
7d8983a292
commit
1a77e80042
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83723
@ -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"`}
|
||||
|
Loading…
Reference in New Issue
Block a user