From 3163d2c3735423cae704dcd6d12db87e0f9ba4ad Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 14 Jan 2011 11:23:39 +0100 Subject: [PATCH] samba: changed to set sysconfdir to '/etc/samba' in the case it was autoconfigured to '/etc' --- network/samba/samba.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/network/samba/samba.conf b/network/samba/samba.conf index 58680812c..8a8f1a302 100644 --- a/network/samba/samba.conf +++ b/network/samba/samba.conf @@ -23,6 +23,10 @@ if [ $prefix_auto = 1 ] ; then var_append extraconfopt ' ' "--with-rootsbindir=/sbin" fi +# set sysconfdir to '/etc/samba' in the case it was autoconfigured to '/etc' +[ "$sysconfdir" = "$root/etc" ] && \ + sysconfdir=$root/etc/samba + var_append extraconfopt " " "--with-smbmount --with-cifsmount --with-automount \ --with-syslog --with-configdir=$sysconfdir \ --with-privatedir=$sysconfdir/private --with-codepagedir=$sysconfdir/codepages \