Comment 18 for bug 340873

Revision history for this message
Daniele Napolitano (dnax88) wrote : Re: [Jaunty] modprobe requires .conf filenames now

New patch version of postinst that remove deprecated MAKEDEV script calls, remove old modprobe config file (if exist) and add ircomm-tty and irnet modules into modprobe.d config file.

This is a patch to debian/irda-utils.irda-setup.init that make this init script LSB compliant.

--- irda-utils.irda-setup.init.orig 2009-04-15 17:37:34.466836798 +0200
+++ irda-utils.irda-setup.init 2009-04-15 17:22:42.506836166 +0200
@@ -1,5 +1,14 @@
 #!/bin/bash

+### BEGIN INIT INFO
+# Provides: irda
+# Required-Start: $remote_fs
+# Required-Stop:
+# Default-Start: S
+# Default-Stop:
+# Short-Description: Infrared port setup
+### END INIT INFO
+
 . /etc/default/irda-utils

 test "$AUTOMATIC" = "true" || exit 0