diff options
author | Michael Larson <mike@vyatta.com> | 2011-02-12 10:26:09 -0800 |
---|---|---|
committer | Michael Larson <mike@vyatta.com> | 2011-02-12 10:26:09 -0800 |
commit | f26ace5c9f88cbf842e8566dbc2656e61e55ff08 (patch) | |
tree | be94baa769397361db39a7eb62ff8ab3fa82b149 | |
parent | 1c97581618cab567c9bc3ce230f1ee6fe63eaadb (diff) | |
download | vyatta-wanloadbalance-f26ace5c9f88cbf842e8566dbc2656e61e55ff08.tar.gz vyatta-wanloadbalance-f26ace5c9f88cbf842e8566dbc2656e61e55ff08.zip |
fix for missing wlb.conf file.
-rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index 354c59c..ef8165f 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -326,6 +326,7 @@ if (defined $nexthop) { } #open file +`touch $conf_file`; #creates file on first access open(FILE, "<$conf_file") or die "Can't open wlb config file"; open(FILE_LCK, "+>$conf_lck_file") or die "Can't open wlb lock file"; |