diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-03 23:38:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-03 23:38:18 +0000 |
commit | 1ca54f04f64e1377ab768885ccc657307410a933 (patch) | |
tree | 834212c5ae1f6e57326ad9cd44a9df81a7964563 /usr/local/www/diag_backup.php | |
parent | aa26bd27643d575830eb818b435073fe396f059b (diff) | |
download | pfsense-1ca54f04f64e1377ab768885ccc657307410a933.zip pfsense-1ca54f04f64e1377ab768885ccc657307410a933.tar.gz |
Set a package needs syncing flag after a restore operation
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-x | usr/local/www/diag_backup.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 90e35ee..51c53dd 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -146,6 +146,9 @@ if ($_POST) { $input_errors[] = "The configuration could not be restored."; } } + /* this will be picked up by /index.php */ + touch("/needs_package_sync"); + } else { $input_errors[] = "The configuration could not be restored (file upload error)."; } |