Browse Source

samba: changed to set sysconfdir to '/etc/samba' in the case it was autoconfigured to '/etc'

user/amery/next/luajit
Christian Wiese 14 years ago
parent
commit
3163d2c373
  1. 4
      network/samba/samba.conf

4
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 \

Loading…
Cancel
Save