base-files: create jail folder on boot

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45008
This commit is contained in:
John Crispin 2015-03-26 10:58:11 +00:00
parent c67144cc05
commit 5b23cfab73

View File

@ -28,6 +28,8 @@ boot() {
mkdir -p /var/state mkdir -p /var/state
mkdir -p /tmp/.uci mkdir -p /tmp/.uci
chmod 0700 /tmp/.uci chmod 0700 /tmp/.uci
mkdir -p /tmp/.jail
chmod 0700 /tmp/.jail
touch /var/log/wtmp touch /var/log/wtmp
touch /var/log/lastlog touch /var/log/lastlog
touch /tmp/resolv.conf.auto touch /tmp/resolv.conf.auto