summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-19 17:15:16 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-19 17:15:16 -0700
commit4efbc262c0509d1b9a898054993f42f0c4b7a724 (patch)
tree23d1d38ede245c2e2560d75cd38753671e4379e5 /scripts
parente8421f5db056f975bd32e0ac07b4870750d0f941 (diff)
downloadvyatta-cfg-qos-4efbc262c0509d1b9a898054993f42f0c4b7a724.tar.gz
vyatta-cfg-qos-4efbc262c0509d1b9a898054993f42f0c4b7a724.zip
Set environment so ppp script can find variables
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ppp/qos3
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