Remove previous firmware.tgz on bootup if present.

This commit is contained in:
Scott Ullrich 2007-05-14 22:18:01 +00:00
parent 786cd81da0
commit 7c26341a04

View File

@ -55,6 +55,12 @@
$avail = $memory[0];
echo " done.\n";
conf_mount_rw();
/* remove previous firmware upgrade if present */
if(file_exists("/root/firmware.tgz"))
unlink(""/root/firmware.tgz"");
/* start devd (dhclient now uses it */
echo "Starting device manager (devd)...";
mute_kernel_msgs();