summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-27 17:13:04 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-27 17:13:04 +0000
commit5cd26039aa138dad6b3e8cdfd22b16dc1818c8a6 (patch)
tree499b4791b122db0113aa0d64f34e60160b143f00 /etc/rc.bootup
parent93ed765955f8891b985805e4d49ba96f8694c6d7 (diff)
downloadpfsense-5cd26039aa138dad6b3e8cdfd22b16dc1818c8a6.zip
pfsense-5cd26039aa138dad6b3e8cdfd22b16dc1818c8a6.tar.gz
Start sshd after the interfaces and routing have been configured.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 0d46fb8..c254dd3 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
+?>
OpenPOWER on IntegriCloud