From 22842b021948d2f8d06f83d879ad8dc6aebf2f99 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Feb 2002 16:37:32 +0000 Subject: (devfssymlinkf): use /etc/devfs/conf.d/name.conf instead of putting the symlink in lib/dev-state --- perl-install/any.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-install/any.pm b/perl-install/any.pm index e4743dc23..cd08e5c80 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -915,7 +915,12 @@ sub report_bug { sub devfssymlinkf { my ($if, $of, $prefix) = @_; - symlinkf($if, "$prefix/$_") foreach ("dev/$of", "lib/dev-state/$of"); + symlinkf($if, "$prefix/dev/$of"); + + output_p("$prefix/etc/devfs/conf.d/$of", +"REGISTER ^$if\$ CFUNCTION GLOBAL symlink $if $of +UNREGISTER ^$if\$ CFUNCTION GLOBAL unlink $of +"); } sub fileshare_config { -- cgit v1.2.1