base-files: create jail folder on boot
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 26 Mar 2015 10:58:11 +0000 (10:58 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 26 Mar 2015 10:58:11 +0000 (10:58 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45008 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/boot

index f10db13..6950130 100755 (executable)
@@ -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