Commit 72cc0f8f authored by Mike Hibler's avatar Mike Hibler
Browse files

Move setting of script-specific vars back above the check for MFS(),

since that code uses one of those vars
parent 58474f5b
......@@ -41,15 +41,6 @@ use libsetup;
use libtmcc;
use librc;
#
# If this is the MFS, hand off to that script.
#
if (MFS()) {
exec("$RCDIR/rc.mfs", @ARGV);
die("*** $0:\n".
" Could not exec $RCDIR/rc.mfs!\n");
}
# Script specific goo.
my $RCDIR = "$BINDIR/rc";
my $LOGFILE = "$LOGDIR/bootsetup.debug";
......@@ -63,6 +54,15 @@ sub doreconfig();
sub docleanup();
sub BootFatal($$);
#
# If this is the MFS, hand off to that script.
#
if (MFS()) {
exec("$RCDIR/rc.mfs", @ARGV);
die("*** $0:\n".
" Could not exec $RCDIR/rc.mfs!\n");
}
# Parse command line.
if (! getopts($optlist, \%options)) {
usage();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment