1#!/bin/sh /etc/rc.common
2# Copyright (C) 2006 OpenWrt.org
3
4START=99
5
6start() {
7
8	# init the mtdoops to capture kernel crash log
9        #insmod mtdoops oops_part="reserve"
10	# start the console log capture when user set debug boot up when boot up
11	if [ "$($CONFIG get debug_boot_up)" = "1" ]; then
12		echo 1 > /tmp/collect_debug
13		/sbin/enable_collect_console_log.sh
14	fi	
15}
16