diff options
author | John Crispin <john@openwrt.org> | 2015-10-19 10:09:46 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-19 10:09:46 +0000 |
commit | 1c74d046edd754c7aff41a0a7d60bf94f307b8b2 (patch) | |
tree | db39bcabc0122cb3d88b6ddf6127dee1bd30d2c9 /package | |
parent | 6944a9509118a3f48b3b5b4a585dee718aa75d52 (diff) | |
download | upstream-1c74d046edd754c7aff41a0a7d60bf94f307b8b2.tar.gz upstream-1c74d046edd754c7aff41a0a7d60bf94f307b8b2.tar.bz2 upstream-1c74d046edd754c7aff41a0a7d60bf94f307b8b2.zip |
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')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 1 |
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 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 |