Start sshd after the interfaces and routing have been configured.

This commit is contained in:
Ermal Lui 2009-05-27 17:13:04 +00:00
parent 93ed765955
commit 5cd26039aa

View File

@ -155,10 +155,6 @@ echo "Setting up extended sysctls...";
system_setup_sysctl();
echo "done.\n";
echo "Starting Secure Shell Services...";
mwexec_bg("/etc/sshd");
echo "done.\n";
/* run any early shell commands specified in config.xml */
system_do_shell_commands(1);
@ -231,6 +227,10 @@ system_routing_configure();
/* enable routing */
system_routing_enable();
echo "Starting Secure Shell Services...";
mwexec_bg("/etc/sshd");
echo "done.\n";
/* configure console menu */
system_console_configure();
@ -342,4 +342,4 @@ mwexec_bg("/usr/sbin/update_dns_cache.sh");
unlink("{$g['varrun_path']}/booting");
$g['booting'] = FALSE;
?>
?>