#!/bin/sh | |
mbtk_start() { | |
echo "start : $1" > /dev/kmsg | |
if [ -e $1 ];then | |
# stdout and stderr > /dev/null | |
#$@ &> /dev/null & | |
(while ! $@ &> /dev/null; do echo "Restarting $@ ..."; done) & | |
fi | |
} | |
start_service() { | |
echo "--mbtk net ready boot start--" > /dev/kmsg | |
#mbtk_start /bin/mbtk_info_test | |
echo "--mbtk net ready boot end--" > /dev/kmsg | |
} | |
start_service |