diff options
author | John Crispin <john@openwrt.org> | 2015-03-26 10:58:11 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-26 10:58:11 +0000 |
commit | 5b23cfab731174723050706e6ec9fa6bc6a4ca9d (patch) | |
tree | aca31ab996fa70a06c481a23bbaa01c5239cdacf /package/base-files/files/etc | |
parent | c67144cc058eafa4ad3ffe9015bc0682efb7d86f (diff) | |
download | upstream-5b23cfab731174723050706e6ec9fa6bc6a4ca9d.tar.gz upstream-5b23cfab731174723050706e6ec9fa6bc6a4ca9d.tar.bz2 upstream-5b23cfab731174723050706e6ec9fa6bc6a4ca9d.zip |
base-files: create jail folder on boot
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45008
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index f10db1344f..6950130f99 100755 --- 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 |