Revision f98d3d65
Added by Scott Ullrich about 16 years ago
etc/rc.bootup | ||
---|---|---|
59 | 59 |
if (in_array($key, array("r", "R"))) { |
60 | 60 |
putenv("TERM=cons25"); |
61 | 61 |
echo "\n\nRecovery mode selected...\n"; |
62 |
system("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer_rescue");
|
|
62 |
passthru("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer_rescue");
|
|
63 | 63 |
} elseif (in_array($key, array("i", "I"))) { |
64 | 64 |
putenv("TERM=cons25"); |
65 | 65 |
echo "\n\nInstaller mode selected...\n"; |
66 |
system("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer");
|
|
66 |
passthru("/usr/bin/env TERM=cons25 /bin/tcsh -c /scripts/lua_installer");
|
|
67 | 67 |
if(file_exists("/tmp/install_complete")) { |
68 |
system("/etc/rc.reboot");
|
|
68 |
passthru("/etc/rc.reboot");
|
|
69 | 69 |
exit; |
70 | 70 |
} |
71 | 71 |
} elseif (in_array($key, array("!", "~"))) { |
Also available in: Unified diff
Use passthru()
Ace-in-the-hole-from: JimP