blob: 4b1301328e841839783c242435320fa7a475141d [file] [log] [blame]
b.liud440f9f2025-04-18 10:44:31 +08001#!/bin/sh /etc/rc.common
2# Copyright (C) 2006-2011 OpenWrt.org
3
4START=98
5USE_PROCD=1
6
7#MBTK_ADB=`getprop persist.mbtk.adb 2> /dev/null`
8
9mbtk_start() {
10 echo "start : $1" > /dev/kmsg
11
12 if [ -e $1 ];then
13 procd_open_instance
14 procd_set_param command $@
15 procd_close_instance
16 fi
17}
18
19start_service() {
20 echo "--mbtk last boot start--" > /dev/kmsg
21# mbtk_start /bin/mbtk_test
22# mbtk_start /bin/mbtk_test "last" 123
23
b.liu32a35782025-04-23 13:47:48 +080024 # [ -e /bin/mbtk_otad ] && mbtk_start /bin/mbtk_otad -a fota
b.liud440f9f2025-04-18 10:44:31 +080025
26 echo "--mbtk last boot end--" > /dev/kmsg
27}
28