diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-19 17:15:16 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-19 17:17:03 -0700 |
commit | 2e022a44d44119f24b214a921c780dc5e39f95bb (patch) | |
tree | 3dd230bbb2d8865777172708ac90b36355040187 | |
parent | 6bca89c291553ccdb2739c7cd11b365de330120e (diff) | |
download | vyatta-cfg-qos-2e022a44d44119f24b214a921c780dc5e39f95bb.tar.gz vyatta-cfg-qos-2e022a44d44119f24b214a921c780dc5e39f95bb.zip |
Set environment so ppp script can find variables
(cherry picked from commit 4efbc262c0509d1b9a898054993f42f0c4b7a724)
-rwxr-xr-x | scripts/ppp/qos | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ppp/qos b/scripts/ppp/qos index af5f9c4..f7b308d 100755 --- a/scripts/ppp/qos +++ b/scripts/ppp/qos @@ -1,3 +1,6 @@ #! /bin/sh +# Pretend we are inside CLI to find configuration varaibles +export VYATTA_ACTIVE_CONFIGURATION_DIR=/opt/vyatta/config/active; + /opt/vyatta/sbin/vyatta-qos.pl --start-interface $1 |