diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2009-08-19 08:57:22 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2009-08-19 08:57:22 -0300 |
commit | 74acf8065ba17aa94515e8c6e14a6499f25366a8 (patch) | |
tree | 0de61cfbc96feaef8969f4a32e03f90dd26cf864 /usr/local/www | |
parent | 758a370ed9a4f433eef3102da0363b04306b32ff (diff) | |
download | pfsense-74acf8065ba17aa94515e8c6e14a6499f25366a8.zip pfsense-74acf8065ba17aa94515e8c6e14a6499f25366a8.tar.gz |
Use sha256 -q instead of | awk
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/system_firmware_auto.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php index cd36974..7eeb2f6 100755 --- a/usr/local/www/system_firmware_auto.php +++ b/usr/local/www/system_firmware_auto.php @@ -148,7 +148,7 @@ else if($needs_system_upgrade == true) $external_upgrade_helper_text .= "{$g['upload_path']}/latest.tgz"; -$downloaded_latest_tgz_sha256 = str_replace("\n", "", `sha256 {$g['upload_path']}/latest.tgz | awk '{ print $4 }'`); +$downloaded_latest_tgz_sha256 = str_replace("\n", "", `sha256 -q {$g['upload_path']}/latest.tgz`); $upgrade_latest_tgz_sha256 = str_replace("\n", "", `cat {$g['upload_path']}/latest.tgz.sha256 | awk '{ print $4 }'`); $sigchk = 0; |