diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-09-02 05:40:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-09-02 05:40:42 +0000 |
commit | ae1ade3fd499b398af8ead525d12a241329e9b48 (patch) | |
tree | f140a09c186dfcc91a07143d8c5d40cf860095b7 /perl-install/any.pm | |
parent | 29963c28395de6279b585fc4206a9e7a13523da1 (diff) | |
download | drakx-backup-do-not-use-ae1ade3fd499b398af8ead525d12a241329e9b48.tar drakx-backup-do-not-use-ae1ade3fd499b398af8ead525d12a241329e9b48.tar.gz drakx-backup-do-not-use-ae1ade3fd499b398af8ead525d12a241329e9b48.tar.bz2 drakx-backup-do-not-use-ae1ade3fd499b398af8ead525d12a241329e9b48.tar.xz drakx-backup-do-not-use-ae1ade3fd499b398af8ead525d12a241329e9b48.zip |
replace /etc/udev/conf.d/xxx.conf shell scripts with /etc/udev/rules.d/xxx.conf conf file
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 6 |
1 files changed, 1 insertions, 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(); |