All of lore.kernel.org
 help / color / mirror / Atom feed
From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: Re: dvb devices
Date: Tue, 14 Dec 2004 18:01:35 +0000	[thread overview]
Message-ID: <20041214180135.GA11696@wonderland.linux.it> (raw)
In-Reply-To: <20041214132019.GA794@bytesex>

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

On Dec 14, Gerd Knorr <kraxel@bytesex.org> 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:~$

-- 
ciao, |
Marco | [9790 cofET.tv2EGkM]

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2004-12-14 18:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-14 13:20 dvb devices Gerd Knorr
2004-12-14 18:01 ` Marco d'Itri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041214180135.GA11696@wonderland.linux.it \
    --to=md@linux.it \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.