summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-19 22:33:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-19 22:33:40 +0000
commit88a05bb10c89ab2f707fb7689f049f67ac26c277 (patch)
treeba85d56417e7e9629d9b4b8904ae6a255dd9ec81 /etc
parent1001762c2d5a83ed97c067ee4804a17be8b2c1ec (diff)
downloadpfsense-88a05bb10c89ab2f707fb7689f049f67ac26c277.zip
pfsense-88a05bb10c89ab2f707fb7689f049f67ac26c277.tar.gz
Drop to a shell before halting the system so the user can inspect the issue.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 7ef4d61..99d790a 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -142,6 +142,9 @@ if (!$noparseconfig) {
echo "on reboot.\n";
} else {
echo "XML configuration file not found. pfSense cannot continue booting.\n";
+ echo "\n\nDropping to a shell for inspection.\n";
+ mwexec("/bin/tcsh");
+ echo "\n\nThe system is now halting.\n\n";
mwexec("/sbin/halt");
exit;
}
OpenPOWER on IntegriCloud