From 5cd26039aa138dad6b3e8cdfd22b16dc1818c8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Wed, 27 May 2009 17:13:04 +0000 Subject: [PATCH] Start sshd after the interfaces and routing have been configured. --- etc/rc.bootup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/rc.bootup b/etc/rc.bootup index 0d46fb8417..c254dd3df3 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -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; -?> \ No newline at end of file +?>