diff options
author | root <root@rshg054.dnsready.net> | 2012-10-16 00:33:10 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-16 00:33:10 -0700 |
commit | 99d0ec7ebad2eda5f3a03098962e3b250e3bef4c (patch) | |
tree | 8b24758dfa8c691cda33acaa931699ce81dc1c15 /community/inputattach/inputattachctl | |
parent | e9dd04abd0ede1143ea4af10059e37c2f599e1fd (diff) |
Tue Oct 16 00:33:08 PDT 2012
Diffstat (limited to 'community/inputattach/inputattachctl')
-rwxr-xr-x | community/inputattach/inputattachctl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/inputattach/inputattachctl b/community/inputattach/inputattachctl new file mode 100755 index 000000000..291c531ae --- /dev/null +++ b/community/inputattach/inputattachctl @@ -0,0 +1,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 |