aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMárcio Carlos <marcioc.antao@gmail.com>2012-07-06 10:49:17 -0300
committerMárcio Carlos <marcioc.antao@gmail.com>2012-07-06 10:49:17 -0300
commit21ac81e3922e4e9efdf7228ca888e39b58c15185 (patch)
tree0bcefb0957708c75d1ee3de20929c2c635fea886
parentc77b96f6edbd5ec026fb94506b96e2ced042d000 (diff)
downloadpfsense-packages-21ac81e3922e4e9efdf7228ca888e39b58c15185.tar.gz
pfsense-packages-21ac81e3922e4e9efdf7228ca888e39b58c15185.tar.bz2
pfsense-packages-21ac81e3922e4e9efdf7228ca888e39b58c15185.zip
Fix: Local and Monitor is Inverted.
-rw-r--r--config/bacula-client/bacula-client.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/bacula-client/bacula-client.inc b/config/bacula-client/bacula-client.inc
index 69e4223b..ca95b926 100644
--- a/config/bacula-client/bacula-client.inc
+++ b/config/bacula-client/bacula-client.inc
@@ -79,10 +79,10 @@ function baculaclient_custom_php_write_config(){
case "Director":
$baculaclient_conf .= "Director { \n\t Name = {$bc['director']}-dir #{$bc['description']}\n\t Password = \"{$bc['password']}\"\n\t}\n";
Break;
- case "Local":
+ case "Monitor":
$baculaclient_conf .= "Director { \n\t Name = {$bc['director']}-mon #{$bc['description']}\n\t Password = \"{$bc['password']}\"\n\t Monitor = yes\n\t}\n";
break;
- case "Monitor":
+ case "Local":
$baculaclient_conf .= "Director { \n\t Name = {$bc['director']}-dir #{$bc['description']}\n\t Password = \"{$bc['password']}\"\n\t}\n";
$baculaclient_conf .= "Director { \n\t Name = {$bc['director']}-mon #{$bc['description']}\n\t Password = \"{$bc['password']}\"\n\t Monitor = yes\n\t}\n";
}