pkgsrc/sysutils/system-tools-backends/patches/patch-aa
jmcneill 0106c9b7c3 Initial import of system-tools-backends version 2.6.0.
The System Tools Backends (s-t-b for short) are a set of cross-platform
modules for Linux, FreeBSD and other Unix systems. The backends provide a
common DBus interface to all platforms to modify or read the system
configuration in a distro independent fashion. Historically, access to
system configuration has varied deeply across Unix flavours, and concreting
a bit more, across Linux distributions, making it near impossible to write
desktop tools that could work flawlessly in a cross-platform way. System
Tools Backends try to fill this gap, offering a generic and easy way for
desktop applications to read and modify configuration details.
2008-11-15 18:28:56 +00:00

21 lines
623 B
Text

$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";
}