diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-07-06 07:54:04 -0700 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-07-06 07:54:04 -0700 |
commit | bcd1ca68962610f75ae3bb919bd0d53db01f8f4b (patch) | |
tree | 0bcefb0957708c75d1ee3de20929c2c635fea886 | |
parent | c77b96f6edbd5ec026fb94506b96e2ced042d000 (diff) | |
parent | 21ac81e3922e4e9efdf7228ca888e39b58c15185 (diff) | |
download | pfsense-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.inc | 4 |
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";
}
|