From f26ace5c9f88cbf842e8566dbc2656e61e55ff08 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Sat, 12 Feb 2011 10:26:09 -0800 Subject: fix for missing wlb.conf file. --- scripts/vyatta-wanloadbalance.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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"; -- cgit v1.2.3