diff options
author | Jordan Bracco <href@random.sh> | 2022-03-25 15:44:44 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-03-25 15:44:44 +0000 |
commit | babd144393c0cbfdc28fb475190d9a552070b240 (patch) | |
tree | 927edd0818be95134ece7b819311b0269b3c5fdc /commands/freebsd/jails | |
parent | Initial PoC (diff) |
Diffstat (limited to 'commands/freebsd/jails')
-rwxr-xr-x | commands/freebsd/jails/list | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/commands/freebsd/jails/list b/commands/freebsd/jails/list new file mode 100755 index 0000000..b7e009e --- /dev/null +++ b/commands/freebsd/jails/list @@ -0,0 +1,6 @@ +#!./cloyster + +ensure_command_exists jls + +list=$(jls --libxo json | jq -r '.["jail-information"].jail | @json') +return_result "${list}" |