summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@mandriva.org>2010-09-09 08:11:23 +0000
committerAndrey Borzenkov <arvidjaar@mandriva.org>2010-09-09 08:11:23 +0000
commit1ffbd35135fc130de33384ba120008ff03e6daee (patch)
tree42dde1fc1d7c6214e1e9039cd1dae1eb236cbf89 /perl-install/devices.pm
parent1f4edb2b78b9a726370fe5793195553f074ba294 (diff)
downloaddrakx-backup-do-not-use-1ffbd35135fc130de33384ba120008ff03e6daee.tar
drakx-backup-do-not-use-1ffbd35135fc130de33384ba120008ff03e6daee.tar.gz
drakx-backup-do-not-use-1ffbd35135fc130de33384ba120008ff03e6daee.tar.bz2
drakx-backup-do-not-use-1ffbd35135fc130de33384ba120008ff03e6daee.tar.xz
drakx-backup-do-not-use-1ffbd35135fc130de33384ba120008ff03e6daee.zip
install static device symlinks under /lib/udev/devices
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 719472cea..304d1dc46 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -237,9 +237,9 @@ sub symlink_now_and_register {
my ($if_struct, $of) = @_;
my $if = $if_struct->{device};
- #- add a specific udev script, we can't do it with a udev rule,
+ #- add a static udev device node, we can't do it with a udev rule,
#- 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/lib/udev/devices/$of");
symlinkf($if, "$::prefix/dev/$of");
}