summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-28 01:33:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-28 01:33:56 +0000
commit0810f28a75fc01fe52b9a672daae87469fa98268 (patch)
treee8e3b080f4e1cbc624c6cf66a296a750753c1c59 /etc
parent4668f9f755d5733c2ffaf761a24732b07ab70f89 (diff)
downloadpfsense-0810f28a75fc01fe52b9a672daae87469fa98268.zip
pfsense-0810f28a75fc01fe52b9a672daae87469fa98268.tar.gz
make sure to unlink first during tar operations
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.firmware2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index e2d8859..b7d993a 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -69,7 +69,7 @@ pfSenseupgrade)
# tar explode image onto hd
if [ -r $2 ]; then
- tar xzvPf $2 -C / > /dev/null 2>&1
+ tar xzvPf $2 -U -C / > /dev/null 2>&1
echo "Image installed."
fi
OpenPOWER on IntegriCloud