Explorar o código

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 <[email protected]>

SVN-Revision: 47219
John Crispin %!s(int64=10) %!d(string=hai) anos
pai
achega
1c74d046ed
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      package/base-files/files/etc/init.d/boot

+ 1 - 0
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