#!/bin/sh /etc/rc.common

START=16
USE_PROCD=1

start_service() {
	local factory_mode=`envctl factory get factory_mode`
	local ethif=$(uci get network.lan.ifname)
	if [ "x$ethif" = "x" ] ; then
		ethif="eth0"
	fi
	if [ "$factory_mode" == "off" ]; then
		procd_open_instance
		procd_set_param command /usr/bin/devProbe -i br-lan
		conntrack -F
		#ethtool -r $ethif
		procd_set_param respawn
		procd_close_instance
	fi
}
