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 | |
parent | c67144cc058eafa4ad3ffe9015bc0682efb7d86f (diff) | |
download | mtk-20170518-5b23cfab731174723050706e6ec9fa6bc6a4ca9d.zip mtk-20170518-5b23cfab731174723050706e6ec9fa6bc6a4ca9d.tar.gz mtk-20170518-5b23cfab731174723050706e6ec9fa6bc6a4ca9d.tar.bz2 |
base-files: create jail folder on boot
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45008
-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 f10db13..6950130 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 |