[OpenWrt-Devel] [PATCH] samba36: preserve smbpasswd across sysupgrade

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Wed Aug 5 10:43:57 EDT 2015


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

Signed-off-by: Kevin Darbyshire-Bryant <kevin at 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 at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list