diff options
-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`; |