#!/bin/sh /etc/rc.common
START=99


start()
{
	boot
}

stop()
{
	[ "$($CONFIG get trend_micro_enable)" = "1" ] && /TM/QoSControl shutdown
}

restart()
{
	stop
	start
}

boot()
{
	$CONFIG set first_boot_qos=1
	[ "$($CONFIG get trend_micro_enable)" = "1" ] && /TM/QoSControl setbw &
}
