diff options
author | carlosg <carlosg> | 2006-10-26 10:08:31 +0000 |
---|---|---|
committer | carlosg <carlosg> | 2006-10-26 10:08:31 +0000 |
commit | 5ce5ac88a5d7c1943bcd0925fc98d15d782e2f90 (patch) | |
tree | 581ce2c5b78211e72c71c3093b4ee0f19f7da867 /Init | |
parent | d543c5e88c3241e621705502a0b031c8e083996f (diff) |
2006-10-26 Carlos Garnacho <carlosg@gnome.org>
* Init/Services.pm: fixes for archlinux
Diffstat (limited to 'Init')
-rw-r--r-- | Init/Services.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Init/Services.pm b/Init/Services.pm index 1a44d77..fb8ceb3 100644 --- a/Init/Services.pm +++ b/Init/Services.pm @@ -866,7 +866,7 @@ sub get_rcng_status_by_service my ($fd, $line, $active); # This is the only difference between rcNG and archlinux - if ($gst_dist eq "archlinux") + if ($Utils::Backend::tool{"platform"} eq "archlinux") { return &Utils::File::exists ("/var/run/daemons/$service"); } @@ -1021,7 +1021,7 @@ sub set_rcng_services my ($action, $runlevels, $script, $func); # archlinux stores services differently - if ($gst_dist eq "archlinux") + if ($Utils::Backend::tool{"platform"} eq "archlinux") { $func = \&set_archlinux_service_status; } |