autoinstall/autostart-manage/info_command.sh
2024-01-08 23:37:31 +01:00

9 lines
218 B
Bash

#!/usr/bin/env bash
autostart_units=()
while IFS='' read -r line
do
autostart_units+=("$line")
done < <(_list)
_echo_table "${autostart_units[@]}" | column -t -s$'\t' --table-columns 'Unit,Enabled?,Active?,Command'