aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-03 18:09:32 +0800
committerreg <reg@FreeBSD.org>2000-10-03 18:09:32 +0800
commit113110a922958025e165ce4580eb13d5247f43bb (patch)
treee440d0fa710f7ca5699c7f366419f9b0bf0f58d0 /net
parent94dbd00f4b0d51f4cb631705de029ddabf498da1 (diff)
downloadfreebsd-ports-gnome-113110a922958025e165ce4580eb13d5247f43bb.tar.gz
freebsd-ports-gnome-113110a922958025e165ce4580eb13d5247f43bb.tar.zst
freebsd-ports-gnome-113110a922958025e165ce4580eb13d5247f43bb.zip
Supply the right magic to restart samba (using etc/rc.d/samba.sh).
Diffstat (limited to 'net')
-rw-r--r--net/gnosamba/files/patch-ab2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/gnosamba/files/patch-ab b/net/gnosamba/files/patch-ab
index 55560f823493..cbe898d2f98e 100644
--- a/net/gnosamba/files/patch-ab
+++ b/net/gnosamba/files/patch-ab
@@ -7,7 +7,7 @@
-#define DEF_SMB_CONF "/etc/smb.conf"
-#define DEF_RESTART "/etc/rc.d/init.d/smb restart"
+#define DEF_SMB_CONF "%%LOCALBASE%%/etc/smb.conf"
-+#define DEF_RESTART ""
++#define DEF_RESTART "%%LOCALBASE%%/etc/rc.d/samba.sh stop && %%LOCALBASE%%/etc/rc.d/samba.sh start"
static GtkWidget *pbox=NULL;
static GtkWidget *conf_entry=NULL;