Arch Linux

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!
Tasklist

FS#15861 - [lirc-utils] Add a rc script for irexec

Attached to Project: Arch Linux
Opened by Juri (MonsterMagnet) - Saturday, 08 August 2009, 16:35 GMT
Last edited by Hugo Doria (hdoria) - Tuesday, 20 October 2009, 19:15 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please add an initscript for lirc-utils: irexec

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions
. /etc/conf.d/irexec

PID=`pidof -o %PPID /usr/bin/irexec`
case "$1" in
start)
stat_busy "Starting IREXEC Daemon"
[ -z "$PID" ] && /usr/bin/irexec --daemon $IREXEC_OPTS
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon irexec
stat_done
fi
;;
stop)
stat_busy "Stopping IREXEC Daemon"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon irexec
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0


#
# Parameters for irexec daemon (path to lircrc)
#

IREXEC_OPTS=""

Thanks
This task depends upon

Closed by  Hugo Doria (hdoria)
Tuesday, 20 October 2009, 19:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed on lirc-utils-0.8.6-3
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 08 August 2009, 17:04 GMT
  • Field changed: Summary ([initscript] lirc-utils irexec → [lirc-utils] Add a rc script for irexec)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Severity (Very Low → Low)
Please attach the rc instead of pasting directly. Thanks.
Comment by Juri (MonsterMagnet) - Saturday, 08 August 2009, 17:46 GMT
Please, forgive my ignorance i'm new to the bugtracker.

Attaced the files...
   irexec (0.6 KiB)
   irexec (0.1 KiB)

Loading...