Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
/var/ipfire/samba/settings
/var/ipfire/samba/shares
/var/ipfire/samba/smb.conf
+/var/ipfire/samba/smb.conf.local
print FILE "smb encrypt = $1\n";
}
+# Include smb.conf.local
+if (-e "${General::swroot}/samba/smb.conf.local") {
+ open(LOCAL, "<${General::swroot}/samba/smb.conf.local");
+
+ # Copy content line by line
+ while (<LOCAL>) {
+ print FILE $_;
+ }
+
+ close(LOCAL);
+}
+
print FILE <<END;
# Export all printers
[printers]
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = samba
-PAK_VER = 73
+PAK_VER = 74
DEPS = avahi cups libtirpc krb5 perl-Parse-Yapp