From fa0e94cc00ef3d4cbb3b3d62eb31be64b12e8e24 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Tue, 25 Sep 2007 17:20:21 -0700 Subject: fixed env variables in scripts. --- scripts/vyatta-load-config.pl | 2 +- scripts/vyatta-save-config.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/vyatta-load-config.pl b/scripts/vyatta-load-config.pl index 7a1e01d..02df8a7 100755 --- a/scripts/vyatta-load-config.pl +++ b/scripts/vyatta-load-config.pl @@ -6,7 +6,7 @@ use strict; use lib "/opt/vyatta/share/perl5/"; use VyattaConfigLoad; -my $etcdir = $ENV{ofr_sysconfdir}; +my $etcdir = $ENV{vyatta_sysconfdir}; my $bootpath = ''; if (-r "$etcdir/bootfile_path") { $bootpath = `cat $etcdir/bootfile_path`; 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`; -- cgit v1.2.3