From 33d8edebe4960812093255b3bc1669cc2d014f38 Mon Sep 17 00:00:00 2001 From: carlosg Date: Tue, 25 Sep 2007 23:43:27 +0000 Subject: 2007-09-26 Carlos Garnacho Add support for Archlinux to UsersConfig and ServicesConfig. patch provided by Ermanno Scaglione * Users/Users.pm (add_user): Archlinux prefers useradd. * Init/Services.pm (get_runlevels) (set_archlinux_service_status) (get_rcng_service_info) (run_rcng_script): Fixes for rcng/archlinux init. --- Users/Users.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Users') diff --git a/Users/Users.pm b/Users/Users.pm index 1062158..09464c3 100644 --- a/Users/Users.pm +++ b/Users/Users.pm @@ -578,7 +578,8 @@ sub add_user &Utils::File::run ("$tool_mkdir -p $home_parents"); if ($cmd_adduser && - $Utils::Backend::tool{"platform"} !~ /^slackware/) + $Utils::Backend::tool{"platform"} !~ /^slackware/ && + $Utils::Backend::tool{"platform"} !~ /^archlinux/) { # use adduser if available and valid (slackware one is b0rk) # set empty gecos fields and password, they will be filled out later -- cgit v1.2.3