mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
LoxiLB: rename UI ipconfig to ipconfigfile
when run loxicmd save -a -c /var/ipfire/loxilb/ ipconfig directory will be created, which conflicts with loxilb UI that also save virtual ip to /var/ipfire/loxilb/ipconfig, so rename ipconfig to ipconfigfile. Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ our $filename1 = "${General::swroot}/dhcp/advoptions"; # Field separator is TAB
|
||||
# because we need commas in the some data
|
||||
our $filename2 = "${General::swroot}/dhcp/fixleases";
|
||||
our $filename3 = "${General::swroot}/dhcp/advoptions-list"; # Describe the allowed syntax for dhcp options
|
||||
my $loxilbipfile = "${General::swroot}/loxilb/ipconfig";
|
||||
my $loxilbipfile = "${General::swroot}/loxilb/ipconfigfile";
|
||||
my $errormessage = '';
|
||||
my $warnNTPmessage = '';
|
||||
my @nosaved=();
|
||||
|
||||
@@ -40,7 +40,7 @@ my %mainsettings=();
|
||||
my %timesettings=();
|
||||
my $setting = "${General::swroot}/keepalived/settings";
|
||||
my $runsetting = "${General::swroot}/keepalived/runsettings";
|
||||
my $loxilbipfile = "${General::swroot}/loxilb/ipconfig";
|
||||
my $loxilbipfile = "${General::swroot}/loxilb/ipconfigfile";
|
||||
# because we need commas in the some data
|
||||
my $errormessage = '';
|
||||
#remove 'ENABLE_HA' from '/var/ipfire/keepalived/settings' as it could affect keepalived running state
|
||||
|
||||
@@ -44,7 +44,7 @@ my %checked=();
|
||||
my $errormessage='';
|
||||
my $setting = "${General::swroot}/main/settings";
|
||||
my $loxilbsettingfile = "${General::swroot}/loxilb/settings";
|
||||
my $loxilbipfile = "${General::swroot}/loxilb/ipconfig";
|
||||
my $loxilbipfile = "${General::swroot}/loxilb/ipconfigfile";
|
||||
|
||||
# Read configuration file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user