fwrite($confFile,createDefaultConfig($GLOBALS['version'],$port,$multisensor,$eyesis_mode));// use multisensor defaults if 10359 +sensors present
fclose($confFile);
log_msg("port $port: autocampars.php created a new configuration file $configPath from defaults.".($multisensor?"This port is multiplexed":"").($GLOBALS['camera_state_arr']['is_eyesis']?(' Used Eyesis mode, camera '.$GLOBALS['camera_state_arr']['mode']?:' Used multisensor mode.'):''));\
log_msg("port $port: autocampars.php created a new configuration file $configPath from defaults.".($multisensor?"This port is multiplexed":"").($GLOBALS['camera_state_arr']['is_eyesis']?(' Used Eyesis mode, camera '.$GLOBALS['camera_state_arr']['mode']?:' Used multisensor mode.'):''));\