summaryrefslogtreecommitdiff
path: root/community/inputattach/inputattachctl
blob: 05dfa4af51af305ee2b77b62acf29d3fe997dd17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

. /etc/conf.d/inputattach

case "$1" in
	start)
		for i in "${IAPARAMS[@]}"; do
			/usr/bin/inputattach --daemon $i || exit 1
		done
		;;
	stop)
		killall inputattach || exit 1
		;;
esac