blob: 4b1301328e841839783c242435320fa7a475141d [file] [log] [blame]
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=98
USE_PROCD=1
#MBTK_ADB=`getprop persist.mbtk.adb 2> /dev/null`
mbtk_start() {
echo "start : $1" > /dev/kmsg
if [ -e $1 ];then
procd_open_instance
procd_set_param command $@
procd_close_instance
fi
}
start_service() {
echo "--mbtk last boot start--" > /dev/kmsg
# mbtk_start /bin/mbtk_test
# mbtk_start /bin/mbtk_test "last" 123
# [ -e /bin/mbtk_otad ] && mbtk_start /bin/mbtk_otad -a fota
echo "--mbtk last boot end--" > /dev/kmsg
}