3.4 Some fixes in captiveportal related to startup