From 5b23cfab731174723050706e6ec9fa6bc6a4ca9d Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Thu, 26 Mar 2015 10:58:11 +0000
Subject: base-files: create jail folder on boot

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

SVN-Revision: 45008
---
 package/base-files/files/etc/init.d/boot | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'package/base-files')

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
-- 
cgit v1.2.3