#! /bin/sh

# mc_start       init.d script to system_update the device

set -e

case "$1" in
  start)
        echo -n "Starting zte_mc: "
	#	start-stop-daemon -S -b -a /usr/bin/zte_dm
		echo "zte_mc starting....."
        start-stop-daemon -S -b -a /usr/bin/zte_mc
        echo "zte_mc is done....."
        ;;
  stop)
        echo -n "Stopping zte_mc: "
        start-stop-daemon -K -n zte_mc
	#	start-stop-daemon -K -n zte_dm
        echo "done"
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)
        echo "Usage zte_mc { start | stop | restart}" >&2
        exit 1
        ;;
esac
exit 0
