blob: 97f870e821856ae62c1f95ee93be80d3a999c4f0 (
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
tiipclad_daemon=/usr/bin/__LAD_DAEMON__
tiipclad_params=lad.txt
test -x "$tiipclad_daemon" || exit 0
case "$1" in
start)
echo -n "Starting tiipclad daemon"
start-stop-daemon --start --quiet --exec $tiipclad_daemon $tiipclad_params
echo "."
;;
stop)
echo -n "Stopping tiipclad daemon"
start-stop-daemon --stop --quiet --pidfile /var/run/tiipclad.pid
echo "."
;;
*)
echo "Usage: /etc/init.d/tiipclad-daemon.sh {start|stop}"
exit 1
esac
exit 0
|