summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware_auto
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-03 19:47:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-03 19:47:45 +0000
commit48111b402a6c7f7ff35e65e4c5b86dcee53650c8 (patch)
tree5a417a3280309fb87b27ee6c569fc874a74981be /etc/rc.firmware_auto
parentcbd615503522dd63d94ba86714e91bf72228aa76 (diff)
downloadpfsense-48111b402a6c7f7ff35e65e4c5b86dcee53650c8.zip
pfsense-48111b402a6c7f7ff35e65e4c5b86dcee53650c8.tar.gz
-e -> -r
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-xetc/rc.firmware_auto2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto
index da83aab..113fe8e 100755
--- a/etc/rc.firmware_auto
+++ b/etc/rc.firmware_auto
@@ -35,7 +35,7 @@ fi
if [ "$PMD" = "$MD" ]; then
echo "MD5's match." | logger -p daemon.info -i -t AutoUpgrade
- if [ -e "/tmp/custom.tgz" ]; then
+ if [ -r "/tmp/custom.tgz" ]; then
/etc/rc.firmware pfSenseupgrade /tmp/latest.tgz /tmp/custom.tgz
else
/etc/rc.firmware pfSenseupgrade /tmp/latest.tgz
OpenPOWER on IntegriCloud