1#!/bin/sh /etc/rc.common
2START=85
3
4start() {
5	if [ "$($CONFIG get i_opmode)" = "apmode" -o "$($CONFIG get i_opmode)" = "brmode" ]; then
6		echo "traffic_meter do not need start in AP/Bridge mode"
7		exit 0
8	fi
9	/sbin/cmd_traffic_meter start
10}
11
12stop() {
13	/sbin/cmd_traffic_meter stop
14}
15
16boot()
17{
18	mkdir -p /tmp/traffic_meter
19	start
20}
21