summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-22 11:58:03 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-22 11:58:03 +0000
commit9c9384ed985ba7da5debfa461253d782aa49de09 (patch)
treee482191a6e40a75d217e1e6d4b2a00924db41a15
parentb0f49934cc7f4bfe11ff7aaa7489cc95327a6046 (diff)
downloaddrakx-9c9384ed985ba7da5debfa461253d782aa49de09.tar
drakx-9c9384ed985ba7da5debfa461253d782aa49de09.tar.gz
drakx-9c9384ed985ba7da5debfa461253d782aa49de09.tar.bz2
drakx-9c9384ed985ba7da5debfa461253d782aa49de09.tar.xz
drakx-9c9384ed985ba7da5debfa461253d782aa49de09.zip
make clear that KERNEL is a match in udev rule
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 303f112f0..9038965ea 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -916,7 +916,7 @@ UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $of
UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $if
") if $devfs_if ne $if && $if !~ /^hd[a-z]/ && $if !~ /^sr/ && $if !~ /^sd[a-z]/;
- output_p("$::prefix/etc/udev/rules.d/20-$of.rules", qq(KERNEL="$if", SYMLINK="$of"\n))
+ output_p("$::prefix/etc/udev/rules.d/20-$of.rules", qq(KERNEL=="$if", SYMLINK="$of"\n))
if $of !~ /mouse|dvd/ || $if =~ /^tty/;
#- when creating a symlink on the system, use devfs name if devfs is mounted