blob: 356f0856df866b3697599d96de0260136815cfa3 [file] [log] [blame]
Vishal Bhoje72c9202015-10-23 18:10:21 +01001#! /bin/sh
2
3uim=/usr/sbin/uim
4
5test -x "$uim" || exit 0
6
7case "$1" in
8 start)
9 echo -n "Starting uim-sysfs daemon"
10 start-stop-daemon --start --quiet --exec $uim &
11 echo "."
12 ;;
13 stop)
14 echo -n "Stopping uim-sysfs daemon"
15 start-stop-daemon --stop --quiet --pidfile /var/run/uim.pid
16 echo "."
17 ;;
18 *)
19 echo "Usage: /etc/init.d/uim-sysfs.sh {start|stop}"
20 exit 1
21esac
22
23exit 0
24