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:
Vincent Li
2024-07-07 19:49:07 +00:00
parent 02724e7427
commit 067bbaf136
3 changed files with 3 additions and 3 deletions

View File

@@ -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=();

View File

@@ -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

View File

@@ -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.