From: John Crispin Date: Mon, 19 Oct 2015 10:09:46 +0000 (+0000) Subject: base-files: create /var/tmp on boot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1c74d046edd754c7aff41a0a7d60bf94f307b8b2;p=openwrt%2Fstaging%2Fnbd.git 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 SVN-Revision: 47219 --- 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