autoinstall/autostart-manage/info_command.sh

10 lines
222 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")
2024-10-23 20:32:11 +00:00
done < <(_list "*")
2024-01-08 22:37:31 +00:00
_echo_table "${autostart_units[@]}" | column -t -s$'\t' --table-columns 'Unit,Enabled?,Active?,Command'