#!/bin/bash source "/usr/share/dar/dar-functions" function help { cat <&2 exit 1 fi set_dists set_as_root AS_ROOT=1 if [ -z "$QUIET" ]; then echo -e "$_BL_$_WH= Entering shells.$_DE" fi for distname in $DISTS; do if [ -r "$CONFIGDIR/dists/$distname/config" ]; then source "$CONFIGDIR/dists/$distname/config" export arch="$DISTARCH" dist="${DISTNAME// *}" nick="$DISTNICK" path="$DISTPATH" repo="$REPO" tag="${DISTTAG// *}" fi setarch $DISTARCH chroot $CHROOTDIR/$distname done if [ -z "$QUIET" ]; then echo -en "$_BL_$_WH= Returning to parent shell. Press ENTER.$_DE" read a fi exit 0