diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ppp/qos | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/ppp/qos b/scripts/ppp/qos index b510cae..326ce38 100755 --- a/scripts/ppp/qos +++ b/scripts/ppp/qos @@ -1,7 +1,9 @@ #! /bin/bash - -/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper begin +API=/bin/cli-shell-api +session_env=$($API getSessionEnv $PPID) +eval $session_env +$API setupSession /opt/vyatta/sbin/vyatta-qos.pl --start-interface $1 -/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper end +$API teardownSession |