summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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