#!/bin/sh /etc/rc.common
# Example script
# Copyright (C) 2007 OpenWrt.org
START=51
STOP=90

USE_PROCD=1
#timer_led_config="timeswitch.cap_status.led_status"
#re_led_status=`uci get $timer_led_config`
#if [ "$re_led_status" != "on" ]
#then
#	uci set $timer_led_config="on"
#	uci commit timeswitch						  
#fi

start_service() {
	procd_open_instance
	procd_set_param command /sbin/time_manager
	#procd_set_param limits core="unlimited"
	procd_set_param respawn
	procd_close_instance
}

start()
{
	/sbin/time_manager &
}

stop()
{
	service_stop /sbin/time_manager
}

