summaryrefslogtreecommitdiff
path: root/recipes/kbdd/files/kbdd.init
blob: 00aec07aa77f5adc84eeba1531e8ad0863c0f1bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#

. /etc/profile

case $1 in
'start')
    /usr/sbin/kbdd -c /etc/kbdd.conf > /dev/null 2>&1 &
    ;;

'stop')
    killall kbdd
    ;;

'restart')
    $0 stop
    $o start
    ;;

*)
    echo "usage: $0 { start | stop | restart }"
    ;;

esac