diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-09-25 17:20:21 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-09-25 17:20:21 -0700 |
commit | fa0e94cc00ef3d4cbb3b3d62eb31be64b12e8e24 (patch) | |
tree | 8636cf4c7b570afb6462ba5a11754460ca27653d /scripts | |
parent | e9a79a249cec69fc178098d2f75db9389068510a (diff) | |
download | vyatta-cfg-fa0e94cc00ef3d4cbb3b3d62eb31be64b12e8e24.tar.gz vyatta-cfg-fa0e94cc00ef3d4cbb3b3d62eb31be64b12e8e24.zip |
fixed env variables in scripts.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-load-config.pl | 2 | ||||
-rwxr-xr-x | scripts/vyatta-save-config.pl | 4 |
2 files changed, 3 insertions, 3 deletions
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`; |