diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-03 01:32:00 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-03 01:32:00 +0100 |
commit | 1ac8fad8e56097cf8e08a0a17f044309317cb50f (patch) | |
tree | c784ed0f8a35bf5b665d895a7c66a49b9798cb70 | |
parent | 3e18fb062f16e99cd3b308089f1459f4eeb33003 (diff) |
rules: fix isdn rules
On Tue, Dec 2, 2008 at 21:07, Matthias Schwarzott <zzam@gentoo.org> wrote:
> It seems that the rules related to capi devices are not correct:
>
> KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20"
> KERNEL=="capi*", NAME="capi/%n"
>
> Changing the second rule to match only on KERNEL=="capi[0-9]*" is reported to
> make it work.
> So I can only guess that the problem is the second rule overwriting the NAME
> set by the first one.
-rw-r--r-- | rules/packages/40-isdn.rules | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rules/packages/40-isdn.rules b/rules/packages/40-isdn.rules index f2bc34e5c8..8a4686f0b7 100644 --- a/rules/packages/40-isdn.rules +++ b/rules/packages/40-isdn.rules @@ -1,5 +1,4 @@ # do not edit this file, it will be overwritten on update -SUBSYSTEM=="capi", GROUP="uucp" -KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" -KERNEL=="capi*", NAME="capi/%n" +SUBSYSTEM=="capi", KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20", GROUP="uucp" +SUBSYSTEM=="tty", KERNEL=="capi[0-9]*", NAME="capi/%n" |