Project

General

Profile

« Previous | Next » 

Revision 657b6b32

Added by Renato Botelho over 5 years ago

Remove old code commented out in 2014

View differences:

src/etc/inc/interfaces.inc
2120 2120
	}
2121 2121
	$upper_type = strtoupper($ppp['type']);
2122 2122

  
2123
	/* XXX: This does not make sense and may create trouble
2124
	 * comment it for now to be removed later on.
2125
	if (platform_booting()) {
2126
		$descr = isset($ifcfg['descr']) ? $ifcfg['descr'] : strtoupper($interface);
2127
		echo "starting {$pppif} link...";
2128
		if (isvalidpid("{$g['varrun_path']}/{$ppp['type']}_{$interface}.pid"))
2129
			return 0;
2130
	}
2131
	*/
2132 2123
	$confports = explode(',', $ppp['ports']);
2133 2124
	if ($type == "modem") {
2134 2125
		$ports = $confports;

Also available in: Unified diff