[OpenWrt-Devel] [RFC PATCH 09/10] samba36: /tmp/etc is created in /etc/init.d/boot

Stijn Tintel stijn at linux-ipv6.be
Mon Mar 28 13:51:48 EDT 2016


Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/network/services/samba36/files/samba.init | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/network/services/samba36/files/samba.init b/package/network/services/samba36/files/samba.init
index f88e0f3..dceb6e5 100755
--- a/package/network/services/samba36/files/samba.init
+++ b/package/network/services/samba36/files/samba.init
@@ -33,7 +33,6 @@ smb_header() {
 	config_get description $1 description "Samba on ${hostname:-OpenWrt}"
 	config_get charset     $1 charset     "UTF-8"
 
-	mkdir -p /tmp/etc
 	sed -e "s#|NAME|#$name#g" \
 	    -e "s#|WORKGROUP|#$workgroup#g" \
 	    -e "s#|DESCRIPTION|#$description#g" \
-- 
2.7.3
_______________________________________________
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