diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ppp/qos | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/ppp/qos b/scripts/ppp/qos index f7b308d..ffa618e 100755 --- a/scripts/ppp/qos +++ b/scripts/ppp/qos @@ -1,6 +1,12 @@ -#! /bin/sh +#! /bin/bash -# Pretend we are inside CLI to find configuration varaibles -export VYATTA_ACTIVE_CONFIGURATION_DIR=/opt/vyatta/config/active; +# setup the config environment +export VYATTA_ACTIVE_CONFIGURATION_DIR=/opt/vyatta/config/active +export VYATTA_EDIT_LEVEL="/" +export VYATTA_TEMPLATE_LEVEL="/" + +/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper begin /opt/vyatta/sbin/vyatta-qos.pl --start-interface $1 + +/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper end |