summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2009-07-08 17:27:57 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-07-08 17:27:57 -0700
commitfe238c4d57c81297e610326d3e94a3cd6f6a9c32 (patch)
tree468556d98ecb7b7ff1e149dc640d491c6892acd8 /scripts
parent3a2e076d79ee4760b28911f897d5ff98305fcb5d (diff)
downloadvyatta-cfg-fe238c4d57c81297e610326d3e94a3cd6f6a9c32.tar.gz
vyatta-cfg-fe238c4d57c81297e610326d3e94a3cd6f6a9c32.zip
load requires additional environment variables
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index 7496f96..8a73d17 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -152,6 +152,8 @@ case "$1" in
RET_STATUS=$?
;;
load)
+ export vyatta_sysconfdir=/opt/vyatta/etc
+ export vyatta_sbindir=/opt/vyatta/sbin
/opt/vyatta/sbin/vyatta-load-config.pl "${@:2}"
RET_STATUS=$?
;;