mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove previous firmware.tgz on bootup if present.
This commit is contained in:
parent
786cd81da0
commit
7c26341a04
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user