blob: 202032dc86c7010c20c67db0fa27c4dd23adb9f5 [file] [log] [blame]
#!/system/bin/sh
propvalue=`getprop persist.radio.bootlog.enable`
if [[ !$propvalue==null ]];then
main_enabled=${propvalue:0:1}
if [[ !$main_enabled==null && $main_enabled -eq 1 ]]
then
/system/bin/logcat -v threadtime -f /data/log/Mlog/main -n 5 -r 2048&
fi
radio_enabled=${propvalue:1:1}
if [[ !$radio_enabled==null && $radio_enabled -eq 1 ]]
then
/system/bin/logcat -v threadtime -b radio -f /data/log/Mlog/radio -n 4 -r 4096&
fi
fi