#!/usr/local/bin/bash # # bootjail script # (for Zoidial Publishing) # # zoidial, -june, 2001 # # # usage: bootjail IP_address hostname pathname # # made for starting jails from bootup # started out of /etc/rc.local # ifconfig xl0 alias $1 netmask 255.255.255.255 # mount -t procfs proc /usr/home/$1/proc jail $3 $2 $1 /bin/sh /etc/rc