diff options
Diffstat (limited to 'ch')
-rwxr-xr-x | ch | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5,6 +5,7 @@ # ch install <id> <package files>... install the package files in the chroot # ch kill all remove all chroots (including master chroot) # ch update update all chroots +# ch list lists all existing master chroots # IDs work like this: # 64 = 64bit extra @@ -180,5 +181,10 @@ case $command in shell) chshell "$1";; rshell) chrshell "$1";; install) chinstall "$@";; + list) + for chrootdir in "$CHROOTS/"*/; do + echo "$(basename "$chrootdir")" + done + ;; *) printf "Unknown command %s\n" "$command";; esac |