Project

General

Profile

« Previous | Next » 

Revision 8fe0e201

Added by Scott Ullrich about 16 years ago

Only unlink file if it exists.

View differences:

etc/rc.initial.firmware_update
175 175
		echo ".";
176 176
	}
177 177
	echo "Done.  Rebooting...\n\n";
178
	unlink($g['varrun_path'] . "/firmware.lock");
178
	if(file_exists($g['varrun_path'] . "/firmware.lock"))
179
		unlink($g['varrun_path'] . "/firmware.lock");
179 180
}
180 181

  
181 182
exec("rm -f /root/*.md5");

Also available in: Unified diff