From 154b44a4525af8912885e31cf099e5631a791d67 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 19 Oct 2015 10:09:46 +0000 Subject: base-files: create /var/tmp on boot FHS mandates presence of /var/tmp on compliant systems. The lack of /var/tmp was discovered when using MIT Kerberos libraries which default to that location for storing credentials cache. Signed-off-by: Paul Fertser git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47219 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/files/etc/init.d') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index a53be743e8..b4e6171736 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -26,6 +26,7 @@ boot() { mkdir -p /var/log mkdir -p /var/lock mkdir -p /var/state + mkdir -p /var/tmp mkdir -p /tmp/.uci chmod 0700 /tmp/.uci mkdir -p /tmp/.jail -- cgit v1.2.3