From e8a5ead890a33db905cb28b6e34d68f5f8295671 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 30 Apr 2007 12:56:46 +0000 Subject: create udev nodes configuration file in /etc/udev/devices.d/ instead of conf.d (used for modem and mouse) --- perl-install/NEWS | 2 ++ perl-install/devices.pm | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index e4828f41a..a221ba90a 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- create udev nodes configuration file in /etc/udev/devices.d/ instead + of conf.d (used for modem and mouse) - fix ext3 formatting with label and progress bar (#30032) Version 10.4.127 - 30 March 2007, by Olivier "blino" Blin diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 61c5b18dd..197127cd0 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -208,9 +208,8 @@ sub symlink_now_and_register { my $if = $if_struct->{device}; #- add a specific udev script, we can't do it with a udev rule, - #- eg, ttySL0 is a symlink - output_with_perm("$::prefix/etc/udev/conf.d/$of.conf", 0755, "ln -sf $if /dev/$of\n") - if $of !~ /mouse/; + #- eg, ttySL0 is a symlink created by a daemon + output_with_perm("$::prefix/etc/udev/devices.d/$of.nodes", 0644, "L $of $if\n"); symlinkf($if, "$::prefix/dev/$of"); } -- cgit v1.2.1