summaryrefslogtreecommitdiff
path: root/scripts/vyatta-save-config.pl
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-09-25 17:20:21 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-09-25 17:20:21 -0700
commitfa0e94cc00ef3d4cbb3b3d62eb31be64b12e8e24 (patch)
tree8636cf4c7b570afb6462ba5a11754460ca27653d /scripts/vyatta-save-config.pl
parente9a79a249cec69fc178098d2f75db9389068510a (diff)
downloadvyatta-cfg-fa0e94cc00ef3d4cbb3b3d62eb31be64b12e8e24.tar.gz
vyatta-cfg-fa0e94cc00ef3d4cbb3b3d62eb31be64b12e8e24.zip
fixed env variables in scripts.
Diffstat (limited to 'scripts/vyatta-save-config.pl')
-rwxr-xr-xscripts/vyatta-save-config.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-save-config.pl b/scripts/vyatta-save-config.pl
index ad972b4..300a5fe 100755
--- a/scripts/vyatta-save-config.pl
+++ b/scripts/vyatta-save-config.pl
@@ -4,8 +4,8 @@ use strict;
use lib "/opt/vyatta/share/perl5/";
use VyattaConfigOutput;
-my $sbindir = $ENV{ofr_sbindir};
-my $etcdir = $ENV{ofr_sysconfdir};
+my $sbindir = $ENV{vyatta_sbindir};
+my $etcdir = $ENV{vyatta_sysconfdir};
my $bootfile = '';
if (-r "$etcdir/bootfile_path") {
$bootfile = `cat $etcdir/bootfile_path`;