diff --git a/etc/rc.bootup b/etc/rc.bootup index 45423189bf..bcb9c44f6e 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -152,9 +152,6 @@ /* start pptpd */ vpn_pptpd_configure(); - /* start IPsec tunnels */ - vpn_ipsec_configure(); - /* start the captive portal */ captiveportal_configure(); @@ -167,6 +164,9 @@ /* start ftp proxy helpers if they are enabled */ system_start_ftp_helpers(); + /* start IPsec tunnels */ + vpn_ipsec_configure(); + /* done */ unlink("{$g['varrun_path']}/booting"); $g['booting'] = FALSE;