Package: irda-utils Version: 1.9.18-8
I made the baud rate of SIR trasmission configurable by /etc/default/irda-utils I have standardized the irda-utils init script with use of "log_daemon_msg" and "log_end_msg". Same bug in Launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/irda-utils/+bug/292779 -- Daniele "DnaX" Napolitano https://launchpad.net/~dnax88 http://dnax.netsons.org/
34a35,38 > > # Set the max baud rate for IrDA device > # Values: 2400, 3600, 9600, 14400, 19200, 28800, 38400, 57600, 115200 > MAX_BAUD_RATE="115200"
28a29,44 > if [ -f /lib/lsb/init-functions ]; then > . /lib/lsb/init-functions > else > log_action_begin_msg () { > echo -n "$...@... " > } > > log_action_end_msg () { > if [ "$1" -eq 0 ]; then > echo done. > else > echo failed. > fi > } > fi > 62c78 < echo -n "Starting $DESC: $NAME" --- > log_daemon_msg "Starting $DESC" "$NAME" 87a104 > log_end_msg $? 96,97c113,114 < $SYSCTL -e -q -w net.irda.max_baud_rate=115200 < echo "." --- > $SYSCTL -e -q -w net.irda.max_baud_rate=$MAX_BAUD_RATE > # echo "." 100c117 < echo -n "Stopping $DESC: $NAME" --- > log_daemon_msg "Stopping $DESC" "$NAME" 107c124 < echo "." --- > log_end_msg $?