Makefiles fixed en zo

This commit is contained in:
Thulinma 2011-02-14 21:44:06 +01:00
parent 70b64b601d
commit 91a678fccb
7 changed files with 55 additions and 7 deletions

38
Connector_RTMP/RTMP_Conn Executable file
View file

@ -0,0 +1,38 @@
#!/bin/sh
#
# description: DDVTech RTMP Connector
# processname: Connector_RTMP
prog="Connector_RTMP"
fullprog="/usr/bin/Connector_RTMP"
RETVAL=0
start() {
echo "Starting $prog"
$fullprog
return $?
}
stop() {
echo "Stopping $prog"
killall $prog
return $?
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
RETVAL=1
esac
exit $RETVAL