summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-26 16:37:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-26 16:37:32 +0000
commit22842b021948d2f8d06f83d879ad8dc6aebf2f99 (patch)
treef446f0763dd1fecc49a5edae6920f455d3d253a6 /perl-install
parent7c50ab390d07c753b31f37420d70e3fd9ca8cee1 (diff)
downloaddrakx-backup-do-not-use-22842b021948d2f8d06f83d879ad8dc6aebf2f99.tar
drakx-backup-do-not-use-22842b021948d2f8d06f83d879ad8dc6aebf2f99.tar.gz
drakx-backup-do-not-use-22842b021948d2f8d06f83d879ad8dc6aebf2f99.tar.bz2
drakx-backup-do-not-use-22842b021948d2f8d06f83d879ad8dc6aebf2f99.tar.xz
drakx-backup-do-not-use-22842b021948d2f8d06f83d879ad8dc6aebf2f99.zip
(devfssymlinkf): use /etc/devfs/conf.d/name.conf instead of putting the symlink in lib/dev-state
Diffstat (limited to 'perl-install')
-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 {