freebsd-ports/net/gnosamba/files/patch-ab

13 lines
463 B
Text

--- src/prefs.c.orig Fri May 21 09:40:40 1999
+++ src/prefs.c Sat Apr 8 14:06:59 2000
@@ -9,8 +9,8 @@
#include "gtksamba.h"
#include <unistd.h>
-#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 "%%LOCALBASE%%/etc/rc.d/samba.sh stop && %%LOCALBASE%%/etc/rc.d/samba.sh start"
static GtkWidget *pbox=NULL;
static GtkWidget *conf_entry=NULL;