Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into...
[vuplus_openembedded] / packages / dreambox / dreambox-dvb-modules / dm7025 / dream
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 Dreambox DVB Subsystem:"
15         
16         modprobe dreambox_keyboard
17         modprobe fp
18         modprobe rfmod
19
20         echo " done!"
21         
22         # redisplay bootlogo, either the "wait..." or the normal
23         [ -e /etc/dropbear/dropbear_rsa_host_key ] && /usr/bin/showiframe /boot/bootlogo.mvi || /usr/bin/showiframe /boot/bootlogo_wait.mvi
24                 ;;
25
26 stop)
27         ;;
28
29 status)
30         ;;
31
32 restart|reload)
33         $0 stop
34         $0 start
35         ;;
36
37 *)
38         usage
39         ;;
40
41 esac
42
43 exit 0