aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-07-06 07:54:04 -0700
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-07-06 07:54:04 -0700
commitbcd1ca68962610f75ae3bb919bd0d53db01f8f4b (patch)
tree0bcefb0957708c75d1ee3de20929c2c635fea886
parentc77b96f6edbd5ec026fb94506b96e2ced042d000 (diff)
parent21ac81e3922e4e9efdf7228ca888e39b58c15185 (diff)
downloadpfsense-packages-bcd1ca68962610f75ae3bb919bd0d53db01f8f4b.tar.gz
pfsense-packages-bcd1ca68962610f75ae3bb919bd0d53db01f8f4b.tar.bz2
pfsense-packages-bcd1ca68962610f75ae3bb919bd0d53db01f8f4b.zip
Merge pull request #283 from djgel/patch-2
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";
}