#!/bin/sh /etc/rc.common
# Copyright (C) 2008-2010 OpenWrt.org

START=99
USE_PROCD=1
EXEC_BIN=/usr/sbin
PROG="/usr/sbin/hw_monitor"

start_service() {
	mkdir -p /tmp/usbLte
	if [ ! -f "/tmp/usbLte/USB_PLUGIN" ]; then
		echo 0 > /tmp/usbLte/USB_PLUGIN
	fi
	procd_open_instance
	procd_set_param command $PROG
	procd_set_param respawn
	procd_close_instance
}
