adds changelog to finger responses

This commit is contained in:
James Tomasino 2021-10-19 11:23:58 +00:00
parent 8583f7556d
commit 4845a11221
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ if [ "$3" = "uptime" ]; then
exit 0
fi
if [ "$3" = "changelog" ]; then
head -n 30 /var/wiki/changelog.html | awk '/^ / { print $0 }'
echo " ..."
exit 0
fi
# shellcheck source=log
# shellcheck disable=SC1091
. /etc/efingerd/log