toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / freescale-imx / imx-uuc / S80imx-uuc
blob8a02f88e509a96a8c3ff52f79dc7430411131218
1 #!/bin/sh
3 NAME=uuc
4 DAEMON=/usr/bin/$NAME
6 case "$1" in
7 start)
8 printf "Starting $NAME: "
9 start-stop-daemon -S -q -b -p /var/run/${NAME}.pid -x $DAEMON
10 [ $? = 0 ] && echo "OK" || echo "FAIL"
12 stop)
13 printf "Stopping $NAME: "
14 start-stop-daemon -K -q -p /var/run/${NAME}.pid
15 [ $? = 0 ] && echo "OK" || echo "FAIL"
17 restart|reload)
18 $0 stop
19 sleep 1
20 $0 start
23 echo "Usage: $0 {start|stop|restart}"
24 exit 1
25 esac
27 exit $?