From fe238c4d57c81297e610326d3e94a3cd6f6a9c32 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 8 Jul 2009 17:27:57 -0700 Subject: load requires additional environment variables --- scripts/vyatta-cfg-cmd-wrapper | 2 ++ 1 file changed, 2 insertions(+) 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=$? ;; -- cgit v1.2.3