From f98d3d65735b308a4c4285eba73c39fc24ced441 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 16 May 2009 21:59:33 -0400 Subject: Use passthru() Ace-in-the-hole-from: JimP --- etc/rc.bootup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/rc.bootup') diff --git a/etc/rc.bootup b/etc/rc.bootup index 108acb8..38a26c5 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -59,13 +59,13 @@ function rescue_detect_keypress() { if (in_array($key, array("r", "R"))) { putenv("TERM=cons25"); echo "\n\nRecovery mode selected...\n"; - system("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer_rescue"); + passthru("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer_rescue"); } elseif (in_array($key, array("i", "I"))) { putenv("TERM=cons25"); echo "\n\nInstaller mode selected...\n"; - system("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer"); + passthru("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer"); if(file_exists("/tmp/install_complete")) { - system("/etc/rc.reboot"); + passthru("/etc/rc.reboot"); exit; } } elseif (in_array($key, array("!", "~"))) { -- cgit v1.1