mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Start sshd after the interfaces and routing have been configured.
This commit is contained in:
parent
93ed765955
commit
5cd26039aa
@ -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;
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user