summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-19 10:09:46 +0000
committerJohn Crispin <john@openwrt.org>2015-10-19 10:09:46 +0000
commit1c74d046edd754c7aff41a0a7d60bf94f307b8b2 (patch)
treedb39bcabc0122cb3d88b6ddf6127dee1bd30d2c9 /package/base-files
parent6944a9509118a3f48b3b5b4a585dee718aa75d52 (diff)
downloadmtk-20170518-1c74d046edd754c7aff41a0a7d60bf94f307b8b2.zip
mtk-20170518-1c74d046edd754c7aff41a0a7d60bf94f307b8b2.tar.gz
mtk-20170518-1c74d046edd754c7aff41a0a7d60bf94f307b8b2.tar.bz2
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 <fercerpav@gmail.com> SVN-Revision: 47219
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index a53be74..b4e6171 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