diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-06 20:52:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-06 20:52:26 +0000 |
commit | 5fddf114fbcf1c49479ac477f4202238f00aa74c (patch) | |
tree | 1ecb7021057ecc1c18c4abe0a2a9b5aab6218d22 /packages/autoconfigbackup | |
parent | e66cfcf39b960e5dfabb2b4688518fa68391857f (diff) | |
download | pfsense-packages-5fddf114fbcf1c49479ac477f4202238f00aa74c.tar.gz pfsense-packages-5fddf114fbcf1c49479ac477f4202238f00aa74c.tar.bz2 pfsense-packages-5fddf114fbcf1c49479ac477f4202238f00aa74c.zip |
Use correct file
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index afcdfc56..4a40d8c4 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -114,7 +114,7 @@ if($_REQUEST['newver'] != "") { $fd = fopen("/tmp/config_restore.xml", "w"); fwrite($fd, $data); fclose($fd); - $ondisksha256 = trim(`/sbin/sha256 /tmp/backupdebug.txt | awk '{ print $4 }'`); + $ondisksha256 = trim(`/sbin/sha256 /tmp/config_restore.xml | awk '{ print $4 }'`); if($sha256) // we might not have a sha256 on file for older backups if($ondisksha256 <> $sha256) $input_errors[] = "SHA256 does not match, cannot restore. $sha256 $ondisksha256"; |