projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c67144c
)
base-files: create jail folder on boot
author
John Crispin
<john@openwrt.org>
Thu, 26 Mar 2015 10:58:11 +0000
(10:58 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 26 Mar 2015 10:58:11 +0000
(10:58 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45008
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 f10db1344f69dc9e08dd28dc68df6e85f054e187..6950130f999e7f51ea6997f85d2dd8aff177c422 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