From 23c2f66bb9e8862ef38c90a811fe9b00825111c4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 10 Aug 2004 10:04:07 +0000 Subject: create /etc/udev/conf.d/xxx.conf --- perl-install/any.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl-install') diff --git a/perl-install/any.pm b/perl-install/any.pm index 5502bba97..f723435f0 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -811,6 +811,12 @@ 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; + } + #- 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(); symlinkf($if, "$::prefix/dev/$of"); -- cgit v1.2.1