base-files: create jail folder on boot
authorJohn Crispin <john@openwrt.org>
Thu, 26 Mar 2015 10:58:11 +0000 (10:58 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 26 Mar 2015 10:58:11 +0000 (10:58 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45008

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

index f10db1344f69dc9e08dd28dc68df6e85f054e187..6950130f999e7f51ea6997f85d2dd8aff177c422 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