summaryrefslogtreecommitdiff
path: root/sysutils/system-tools-backends/patches/patch-aa
blob: aa0ee2a97e51893a8cfafe620e7cbeade8d247e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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";
   }