summaryrefslogtreecommitdiff
path: root/Users
diff options
context:
space:
mode:
authorcarlosg <carlosg>2006-08-11 14:53:08 +0000
committercarlosg <carlosg>2006-08-11 14:53:08 +0000
commit8ed7927e834be83087c40fb69dcd65c9c9885ec1 (patch)
treee654c5da4bf32dfaaad0a6b95d07349559f78e85 /Users
parent5faf3f268e977a999443c7414db02f4f0ac42e48 (diff)
2006-08-11 Carlos Garnacho <carlosg@gnome.org>
* Utils/Platform.pm (guess): make distribution detection more generic, remove lots of check_distro() functions. (ensure_distro_map): create a distro metamap, from now adding a new distro that behaves exactly like another will be one liner. (PLATFORM_INFO): remove some ancient (as in ooold) distros. * Init/Services.pm, Network/Hosts.pm, Network/Ifaces.pm, Shares/SMB.pm, Time/NTP.pm, Time/TimeDate.pm, Users/Users.pm: Unify parse/replace distro maps where necessary, make shorter those lists now that the distro metamap is there.
Diffstat (limited to 'Users')
-rw-r--r--Users/Users.pm37
1 files changed, 0 insertions, 37 deletions
diff --git a/Users/Users.pm b/Users/Users.pm
index 1730429..304f1cb 100644
--- a/Users/Users.pm
+++ b/Users/Users.pm
@@ -225,59 +225,22 @@ my $freebsd_logindefs_defaults = {
};
my $logindefs_dist_map = {
- 'redhat-5.2' => $rh_logindefs_defaults,
- 'redhat-6.0' => $rh_logindefs_defaults,
- 'redhat-6.1' => $rh_logindefs_defaults,
'redhat-6.2' => $rh_logindefs_defaults,
'redhat-7.0' => $rh_logindefs_defaults,
'redhat-7.1' => $rh_logindefs_defaults,
'redhat-7.2' => $rh_logindefs_defaults,
'redhat-7.3' => $rh_logindefs_defaults,
'redhat-8.0' => $rh_logindefs_defaults,
- 'redhat-9' => $rh_logindefs_defaults,
- 'openna-1.0' => $rh_logindefs_defaults,
- 'mandrake-7.1' => $rh_logindefs_defaults,
- 'mandrake-7.2' => $rh_logindefs_defaults,
'mandrake-9.0' => $rh_logindefs_defaults,
- 'mandrake-9.1' => $rh_logindefs_defaults,
- 'mandrake-9.2' => $rh_logindefs_defaults,
- 'mandrake-10.0' => $rh_logindefs_defaults,
- 'mandrake-10.1' => $rh_logindefs_defaults,
'pld-1.0' => $rh_logindefs_defaults,
- 'pld-1.1' => $rh_logindefs_defaults,
- 'pld-1.99' => $rh_logindefs_defaults,
'fedora-1' => $rh_logindefs_defaults,
- 'fedora-2' => $rh_logindefs_defaults,
- 'fedora-3' => $rh_logindefs_defaults,
- 'rpath' => $rh_logindefs_defaults,
- 'debian-2.2' => $rh_logindefs_defaults,
'debian-3.0' => $rh_logindefs_defaults,
- 'debian-sarge' => $rh_logindefs_defaults,
- 'ubuntu-5.04' => $rh_logindefs_defaults,
- 'ubuntu-5.10' => $rh_logindefs_defaults,
- 'ubuntu-6.04' => $rh_logindefs_defaults,
'vine-3.0' => $rh_logindefs_defaults,
- 'vine-3.1' => $rh_logindefs_defaults,
'gentoo' => $gentoo_logindefs_defaults,
- 'vlos-1.2' => $gentoo_logindefs_defaults,
'archlinux' => $gentoo_logindefs_defaults,
'slackware-9.1.0' => $gentoo_logindefs_defaults,
- 'slackware-10.0.0' => $gentoo_logindefs_defaults,
- 'slackware-10.1.0' => $gentoo_logindefs_defaults,
- 'slackware-10.2.0' => $gentoo_logindefs_defaults,
- 'freebsd-4' => $freebsd_logindefs_defaults,
'freebsd-5' => $freebsd_logindefs_defaults,
- 'freebsd-6' => $freebsd_logindefs_defaults,
- 'freebsd-7' => $freebsd_logindefs_defaults,
- 'suse-7.0' => $gentoo_logindefs_defaults,
'suse-9.0' => $gentoo_logindefs_defaults,
- 'suse-9.1' => $gentoo_logindefs_defaults,
-
- # FIXME: I don't know about those, so using RH values for now.
- 'turbolinux-7.0' => $rh_logindefs_defaults,
- 'slackware-8.0.0' => $rh_logindefs_defaults,
- 'slackware-8.1' => $rh_logindefs_defaults,
- 'slackware-9.0.0' => $rh_logindefs_defaults,
};