summaryrefslogtreecommitdiff
path: root/community/inputattach/inputattachctl
blob: 291c531aeae008dc1285fdc0f95e6f57dfb5ba3a (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/sbin/inputattach --daemon $i || exit 1
		done
		;;
	stop)
		killall inputattach || exit 1
		;;
esac