projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: create /var/tmp on boot
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
boot
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index f10db1344f69dc9e08dd28dc68df6e85f054e187..b4e61717368278f146a5a3f706a4c19613628a68 100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-26,8
+26,10
@@
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
touch /var/log/wtmp
touch /var/log/lastlog
touch /tmp/resolv.conf.auto