From ae1ade3fd499b398af8ead525d12a241329e9b48 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 2 Sep 2004 05:40:42 +0000 Subject: replace /etc/udev/conf.d/xxx.conf shell scripts with /etc/udev/rules.d/xxx.conf conf file --- perl-install/any.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/perl-install/any.pm b/perl-install/any.pm index 62fb11c3b..53190dd94 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -843,11 +843,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]/; - { - my $f = "$::prefix/etc/udev/conf.d/$of.conf"; - output_p($f, "ln -sf $if /dev/$of\n"); - chmod 0755, $f; - } + output_p("$::prefix/etc/udev/rules.d/$of.rules", qq(KERNEL="$if", SYMLINK="$of"\n)); #- when creating a symlink on the system, use devfs name if devfs is mounted symlinkf($devfs_if, "$::prefix/dev/$if") if $devfs_if ne $if && detect_devices::dev_is_devfs(); -- cgit v1.2.1