2013-09-26 17:14:40 +02:00

22 lines
623 B
Plaintext

$NetBSD: patch-aa,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
--- Init/Services.pm.orig 2008-03-09 09:21:45.000000000 -0400
+++ Init/Services.pm
@@ -55,6 +55,7 @@ sub get_runlevels
"archlinux" => "freebsd-5",
"freebsd-5" => "freebsd-5",
"solaris-2.11" => "freebsd-5",
+ "netbsd-2" => "freebsd-5",
);
%runlevels=
@@ -1287,7 +1288,7 @@ sub get_init_type
{
return "bsd";
}
- elsif (($gst_dist =~ /freebsd/) || ($gst_dist =~ /archlinux/))
+ elsif (($gst_dist =~ /freebsd/) || ($gst_dist =~ /archlinux/) || ($gst_dist =~ /netbsd/))
{
return "rcng";
}