projects
/
openwrt
/
staging
/
luka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6944a95
)
base-files: create /var/tmp on boot
author
John Crispin
<john@openwrt.org>
Mon, 19 Oct 2015 10:09:46 +0000
(10:09 +0000)
committer
John Crispin
<john@openwrt.org>
Mon, 19 Oct 2015 10:09:46 +0000
(10:09 +0000)
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
package/base-files/files/etc/init.d/boot
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index a53be743e8872b67ad6d4fff64565ef34009dab8..b4e61717368278f146a5a3f706a4c19613628a68 100755
(executable)
--- 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