1#!/bin/sh /etc/rc.common
2
3start()
4{
5	# if Eth Wan NIF is a VLAN NIF, the default txqueuelen is 0.
6	# it should be assigned a reasonable value
7	ip link set ethwan txqueuelen 1000
8	dni_qos --dni_qos_if ethwan
9	/sbin/qos.sh start
10}
11
12stop()
13{
14	/sbin/qos.sh stop
15	dni_qos --dni_qos_if xxx    # xxx NOT exist, this will detach original attached interface.
16}
17