projects
/
vuplus_openembedded
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
merge from opendreambox branch
[vuplus_openembedded]
/
packages
/
dreambox
/
dreambox-dccamd
/
dccamd.sh
1
#!/bin/sh
2
3
usage()
4
{
5
echo "Usage: $0 {start|stop|status|restart|reload}"
6
}
7
8
if [ $# -lt 1 ] ; then usage ; break ; fi
9
action=$1
10
11
case "$action" in
12
13
start)
14
echo -n "Start Dreamcrypt cam daemon:"
15
/usr/bin/wdog /usr/bin/dccamd -
16
echo " dccamd."
17
;;
18
19
stop)
20
echo -n "Stopping Dreamcrypt cam daemon: dccamd"
21
killall wdog dccamd
22
echo "."
23
;;
24
25
status)
26
;;
27
28
restart|reload)
29
$0 stop
30
$0 start
31
;;
32
33
*)
34
usage
35
;;
36
37
esac
38
39
exit 0