When trying to install a jail without having ip set in /jail/etc/$jail/jail.conf you receive the error:
usage: dirname string [...]
since $ip is empty.
Probably load-jail-config() should grep the ip4.addr from /etc/jail.conf aswell, so you don't have to set it twice.
When trying to install a jail without having ip set in /jail/etc/$jail/jail.conf you receive the error: usage: dirname string [...] since $ip is empty. Probably load-jail-config() should grep the ip4.addr from /etc/jail.conf aswell, so you don't have to set it twice.