qos |
Subversion Repositories: |
Line No. | Rev | Author | Line |
---|---|---|---|
1 | 17 | simandl | #! /bin/sh |
2 | # QoS-base init script |
||
3 | # |
||
4 | # description: Fast configuration for QoS/HTB |
||
5 | # processname: - |
||
6 | # chkconfig: 2345 55 55 |
||
7 | # |
||
8 | |
||
9 | |
||
10 | #QoS-base init script |
||
11 | |
||
12 | |
||
13 | case "$1" in |
||
14 | start) |
||
15 | 20 | simandl | /etc/qos/qos |
16 | 17 | simandl | ;; |
17 | stop) |
||
18 | /etc/qos/qosclear |
||
19 | ;; |
||
20 | *) |
||
21 | 20 | simandl | echo "Usage: /etc/init.d/qos {start|stop}" |
22 | 17 | simandl | exit 1 |
23 | ;; |
||
24 | esac |
||
25 | exit 0 |