add 'current' alias

showing installed state
This commit is contained in:
2023-08-08 11:11:13 +02:00
parent b19d1368c2
commit fdef0b69cf
3 changed files with 23 additions and 2 deletions

View File

@ -6,4 +6,6 @@ function service_status () {
echo ${name} $(systemctl is-active ${name}) $(systemctl is-enabled ${name}); \
done | column -t | grep --color=always '\(disabled\|inactive\|$\)'
}
alias current='cat /root/aputools/current'
service_status router frappy
echo "> current # show currently installed state"