autoinstall/autostart-manage/info_command.sh

10 lines
218 B
Bash
Raw Normal View History

2024-01-08 22:37:31 +00:00
#!/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'