Add /etc/samba/smbpasswd to list of samba conffiles
thus preserving samba passwords across sysupgrade
by default.

Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk>
---
 package/network/services/samba36/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/samba36/Makefile 
b/package/network/services/samba36/Makefile
index d8b930c..9e282f0 100644
--- a/package/network/services/samba36/Makefile
+++ b/package/network/services/samba36/Makefile
@@ -129,6 +129,7 @@ MAKE_FLAGS += DYNEXP= PICFLAG= MODULES=
 define Package/samba36-server/conffiles
 /etc/config/samba
 /etc/samba/smb.conf.template
+/etc/samba/smbpasswd
 endef
 
 define Package/samba36-server/install
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to