Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Thu, 11 Dec 2008 23:32:52 +0100
Philipp Wuensche <cryx-freebsd_at_h3q.com> writes:
> Not entirely true, the jls output is totaly different than before and
> breaks third-party applications like jailaudit and ezjail.
>
> It is uneasy to parse too.

jls | tail +3 | while read line ; do
        set $line
        if [ $# = 3 ] ; then
                echo "jail $1 (name $2 root $3) IPs:"
        elif [ $# = 1 ] ; then
                echo "    $1"
        else
                echo "huh?"
        fi
done

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Thu Dec 11 2008 - 21:32:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC