From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Tue, 14 Dec 2004 18:01:35 +0000 Subject: Re: dvb devices Message-Id: <20041214180135.GA11696@wonderland.linux.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Kj7319i9nmIyA2yE" List-Id: References: <20041214132019.GA794@bytesex> In-Reply-To: <20041214132019.GA794@bytesex> To: linux-hotplug@vger.kernel.org --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 14, Gerd Knorr wrote: > Here are some rules for udev to deal with dvb devices. It's pretty > long, but I havn't found a easier way to make it fly without using > PROGRAM + some external script. Suggestions are welcome. Why bother? It's not like there are hundred of devices, so running a script like the one already provided with udev should not be a problem. md@wonderland:~$cat /etc/udev/scripts/dvb.sh #!/bin/sh -e echo $1 | sed -e 's#^dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\)#dvb/adapter\1/\2\3#' exit 0 md@wonderland:~$ --=20 ciao, | Marco | [9790 cofET.tv2EGkM] --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBvyp/FGfw2OHuP7ERAqd3AJ9huETM7RnL3EtYLqwo5ucXvbCvtgCeOtTA laTN77dCLqPsmrboZmX1TlE= =RC05 -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel