summaryrefslogtreecommitdiff
path: root/bt-wifi-firmware-util/uim-sysfs.sh
blob: 356f0856df866b3697599d96de0260136815cfa3 (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
#! /bin/sh

uim=/usr/sbin/uim

test -x "$uim" || exit 0

case "$1" in
  start)
    echo -n "Starting uim-sysfs daemon"
    start-stop-daemon --start --quiet --exec $uim &
    echo "."
    ;;
  stop)
    echo -n "Stopping uim-sysfs daemon"
    start-stop-daemon --stop --quiet --pidfile /var/run/uim.pid
    echo "."
    ;;
  *)
    echo "Usage: /etc/init.d/uim-sysfs.sh {start|stop}"
    exit 1
esac

exit 0