diff mbox

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

Message ID 1459187509-12124-2-git-send-email-stijn@linux-ipv6.be
State RFC
Headers show

Commit Message

Stijn Tintel March 28, 2016, 5:51 p.m. UTC
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
---
 package/base-files/files/etc/init.d/boot | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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