[OpenWrt-Devel] [RFC PATCH 01/10] base-files: create /tmp/etc on boot

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


Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/base-files/files/etc/init.d/boot | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index ccd0afe..944c873 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -27,6 +27,7 @@ boot() {
 	mkdir -p /var/lock
 	mkdir -p /var/state
 	mkdir -p /var/tmp
+	mkdir -p /tmp/etc
 	mkdir -p /tmp/.uci
 	chmod 0700 /tmp/.uci
 	touch /var/log/wtmp
-- 
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