Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
sub get_gentoo_services_for_runlevel
{
my($runlevel) = @_;
my($raw_output) = Utils::File::run_backtick("rc-status -nocolor $runlevel");
my($raw_output) = Utils::File::run_backtick("rc-status --nocolor $runlevel");
my(@raw_lines) = split(/\n/,$raw_output);
my($line, $service);
my(%services);