From b4894bbbf3a3ffa9527d262b2d3c6abb3b759ecf Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 3 Oct 2010 21:57:15 +0200 Subject: [PATCH] [remaster/scripts] copy smb.conf.default to smb.conf for remaster spins --- scripts/remaster_generic_inner_chroot_script_after.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/remaster_generic_inner_chroot_script_after.sh b/scripts/remaster_generic_inner_chroot_script_after.sh index de5a9fc..9cb7dc4 100755 --- a/scripts/remaster_generic_inner_chroot_script_after.sh +++ b/scripts/remaster_generic_inner_chroot_script_after.sh @@ -201,6 +201,11 @@ fi touch /var/log/clamav/freshclam.log chown clamav:clamav /var/log/clamav -R +# Setup SAMBA config file +if [ -f /etc/samba/smb.conf.default ]; then + cp -p /etc/samba/smb.conf.default /etc/samba/smb.conf +fi + # if Sabayon GNOME, drop qt-gui bins gnome_panel=$(qlist -ICve gnome-base/gnome-panel) if [ -n "${gnome_panel}" ]; then