baf7e88ba9
The System Tools Backends (s-t-b for short) are a set of cross-platform modules for Unix systems. The backends provide a common DBus interface to all platforms to modify or read the system configuration in a system independent fashion. Historically, access to system configuration has <...> This is a WIP, hence not hooked to the build. DO NOT try this at home or you will harm yourself, you have been warned. ok jasper@
20 lines
679 B
Plaintext
20 lines
679 B
Plaintext
$OpenBSD: patch-Shares_SMB_pm,v 1.1.1.1 2010/09/10 13:49:59 ajacoutot Exp $
|
|
--- Shares/SMB.pm.orig Wed Sep 8 18:30:46 2010
|
|
+++ Shares/SMB.pm Wed Sep 8 18:31:34 2010
|
|
@@ -144,6 +144,7 @@ sub get_distro_smb_file
|
|
"pld-1.0" => "pld-1.0",
|
|
"vine-3.0" => "debian",
|
|
"freebsd-5" => "freebsd-5",
|
|
+ "openbsd-4" => "openbsd-4",
|
|
);
|
|
|
|
my %dist_tables =
|
|
@@ -152,6 +153,7 @@ sub get_distro_smb_file
|
|
"debian" => "/etc/samba/smb.conf",
|
|
"pld-1.0" => "/etc/smb/smb.conf",
|
|
"freebsd-5" => "/usr/local/etc/smb.conf",
|
|
+ "openbsd-4" => "${SYSCONFDIR}/samba/smb.conf",
|
|
);
|
|
|
|
my $dist = $dist_map {$Utils::Backend::tool{"platform"}};
|