diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-11-22 08:31:53 -0800 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-02-28 15:13:06 -0800 |
commit | 74f395e0ea9e41db5d12a8c9a6a4a2b1b801a633 (patch) | |
tree | a8bdf36f28b0a6d080cb5e0d2d6af44e564d9181 | |
parent | 5fe4cca460e278e78e77253e54782108f8eeb74b (diff) | |
download | vyatta-cfg-qos-74f395e0ea9e41db5d12a8c9a6a4a2b1b801a633.tar.gz vyatta-cfg-qos-74f395e0ea9e41db5d12a8c9a6a4a2b1b801a633.zip |
Fix pppoe qos policy application
-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 |