From 561dda5174bbdce629cb4678c63dbaa301873cb7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 7 Feb 2005 06:24:30 +0000 Subject: Correct testing behavior for default shell. Previously was tested with bash. --- etc/rc.firmware_auto | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto index a5962a3..9652337 100755 --- a/etc/rc.firmware_auto +++ b/etc/rc.firmware_auto @@ -17,11 +17,10 @@ echo " Package MD5: ${PMD}" | logger -p daemon.info -i -t AutoUpgrade echo "Downloaded MD5: ${MD}" | logger -p daemon.info -i -t AutoUpgrade if [ "$PMD" = "$MD" ]; then - echo "MD5's match." | logger -p daemon.info -i -t AutoUpgrade + echo "MD5's match." | logger -p daemon.info -i -t AutoUpgrade /etc/rc.firmware pfSenseupgrade /tmp/latest.tgz -then - echo "MD5's do not match." | logger -p daemon.info -i -t AutoUpgrade exit 0 fi - +echo "MD5's do not match." | logger -p daemon.info -i -t AutoUpgrade +exit 0 -- cgit v1.1