diff options
author | alex <alex@builder.localdomain> | 2007-12-17 15:34:37 -0800 |
---|---|---|
committer | alex <alex@builder.localdomain> | 2007-12-17 15:34:37 -0800 |
commit | e031e51f8da8581311d780983d2e335f058fca99 (patch) | |
tree | 2981c37aa3fc5252f6659870e5b4bce1717e13a5 /scripts/vyatta-load-config.pl | |
parent | edb8226cb91b197f022bfdd28246ff5a86541614 (diff) | |
parent | e65d2f0e7423bd9d6120e0373a83aad3795670aa (diff) | |
download | vyatta-cfg-e031e51f8da8581311d780983d2e335f058fca99.tar.gz vyatta-cfg-e031e51f8da8581311d780983d2e335f058fca99.zip |
Merge branch 'master' of http://phuket.vyatta.com/vyatta-cfg
Diffstat (limited to 'scripts/vyatta-load-config.pl')
-rwxr-xr-x | scripts/vyatta-load-config.pl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/vyatta-load-config.pl b/scripts/vyatta-load-config.pl index a6f037a..d011a65 100755 --- a/scripts/vyatta-load-config.pl +++ b/scripts/vyatta-load-config.pl @@ -8,11 +8,7 @@ use VyattaConfigLoad; my $etcdir = $ENV{vyatta_sysconfdir}; my $sbindir = $ENV{vyatta_sbindir}; -my $bootpath = ''; -if (-r "$etcdir/bootfile_path") { - $bootpath = `cat $etcdir/bootfile_path`; -} -$bootpath =~ s/\/[^\/]+$//; +my $bootpath = $etcdir . "/config"; if ($#ARGV != 0) { print "Usage: load <config_file_name>\n"; |