projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c93d1a
)
base-files: create jail folder on boot
author
John Crispin
<blogic@openwrt.org>
Thu, 26 Mar 2015 10:58:11 +0000
(10:58 +0000)
committer
John Crispin
<blogic@openwrt.org>
Thu, 26 Mar 2015 10:58:11 +0000
(10:58 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45008
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
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
f10db13
..
6950130
100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-28,6
+28,8
@@
boot() {
mkdir -p /var/state
mkdir -p /tmp/.uci
chmod 0700 /tmp/.uci
+ mkdir -p /tmp/.jail
+ chmod 0700 /tmp/.jail
touch /var/log/wtmp
touch /var/log/lastlog
touch /tmp/resolv.conf.auto