Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15693 - [keytouch] quiet daemon script
Attached to Project:
Arch Linux
Opened by Eric Belanger (Snowman) - Monday, 27 July 2009, 01:06 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 17 October 2009, 20:47 GMT
Opened by Eric Belanger (Snowman) - Monday, 27 July 2009, 01:06 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 17 October 2009, 20:47 GMT
|
DetailsDescription:
Add some &>/dev/null to quiet /usr/bin/keytouch-init /usr/bin/keytouch-acpid |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 17 October 2009, 20:47 GMT
Reason for closing: Fixed
Additional comments about closing: keytouch-2.4.1-2
Saturday, 17 October 2009, 20:47 GMT
Reason for closing: Fixed
Additional comments about closing: keytouch-2.4.1-2
. /etc/rc.conf
. /etc/rc.d/functions
PID=$(pidof -o %PPID /usr/bin/keytouch-acpid)
case "$1" in
start)
stat_busy "Starting keyTouch Daemon"
if [ -x /etc/rc.d/acpid ]; then
ck_daemon acpid && /etc/rc.d/acpid start
fi
/usr/bin/keytouch-init
[ -z "$PID" ] && /usr/bin/keytouch-acpid &
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon keytouch
stat_done
fi
;;
stop)
stat_busy "Stopping keyTouch Daemon"
[ ! -z "$PID" ] && kill "$PID" &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon keytouch
stat_done
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0