Welcome to mirror list, hosted at ThFree Co, Russian Federation.

S82remote-exec « init.d « etc « rootfs « hakchi « mod_hakchi « mods - github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65395aaa7322ef251545101a0dd5d4f98831b806 (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
26
#!/bin/sh -e

start() {
	remote-exec &
}

stop() {
	killall remote-exec
}

case "$1" in
start)
	start
;;
stop)
	stop
;;
restart)
	stop
	start
;;
*)
	echo "remote-exec: Please use start, stop, or restart."
	exit 1
;;
esac