summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm7
1 files changed, 6 insertions, 1 deletions
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 {