Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1778 Details for
Bug 1797
irda-utils broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add gentoo-specific /etc files to irda-utils
irda-utils-0.9.14-gentoo.patch (text/plain), 1.49 KB, created by
Brian Rozmierski
on 2002-06-25 14:20:11 UTC
(
hide
)
Description:
Patch to add gentoo-specific /etc files to irda-utils
Filename:
MIME Type:
Creator:
Brian Rozmierski
Created:
2002-06-25 14:20:11 UTC
Size:
1.49 KB
patch
obsolete
>diff -Naur /home/brianr/irda-utils-0.9.14/etc/gentoo/irda.conf ./etc/gentoo/irda.conf >--- /home/brianr/irda-utils-0.9.14/etc/gentoo/irda.conf Wed Dec 31 19:00:00 1969 >+++ ./etc/gentoo/irda.conf Tue Jun 25 14:36:10 2002 >@@ -0,0 +1,6 @@ >+#Set to yes to enable IRDA >+IRDA=yes >+IRDADEV=/dev/ttyS1 >+#Set (optional) Dongle name here >+#DONGLE=actisys+ >+DISCOVERY=yes >diff -Naur /home/brianr/irda-utils-0.9.14/etc/gentoo/irda.rc ./etc/gentoo/irda.rc >--- /home/brianr/irda-utils-0.9.14/etc/gentoo/irda.rc Wed Dec 31 19:00:00 1969 >+++ ./etc/gentoo/irda.rc Tue Jun 25 14:38:09 2002 >@@ -0,0 +1,38 @@ >+#!/sbin/runscript >+# Copyright 1999-2002 Gentoo Technologies, Inc. >+# Distributed under the terms of the GNU General Public License, v2 or later >+ >+checkconfig() { >+ if [ -z "$IRDA" ] || [ -z "$IRDADEV" ] ; then >+ eerror "You need to setup IRDA and IRDADEV in /etc/conf.d/irda first" >+ return 1 >+ fi >+} >+ >+start() { >+ checkconfig || return 1 >+ >+ # Check that irda is enabled. >+ [ ${IRDA} = "no" ] && return 1 >+ >+ [ -f /usr/sbin/irattach ] || return 1 >+ >+ local ARGS="" >+ if [ $DONGLE ]; then >+ ARGS="$ARGS -d $DONGLE" >+ fi >+ if [ "$DISCOVERY" = "yes" ];then >+ ARGS="$ARGS -s" >+ fi >+ >+ # Attach irda device >+ ebegin "Starting IrDA" >+ start-stop-daemon --start --quiet --pidfile /var/run/irda.pid \ >+ --exec /usr/sbin/irattach -- ${IRDADEV} ${ARGS} >+ eend ${?} >+} >+ >+stop() { >+ ebegin "Shutting down IrDA" >+ start-stop-daemon --stop --quiet --pidfile /var/run/irda.pid >+ eend ${?} >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1797
:
1777
| 1778 |
2860