PiFrameFleet/root/etc/cont-init.d/00-welcome

29 lines
660 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
echo "
-------------------------------------
Welcome to PiFrameFleet
This container includes the following
- WireGuard VPN
- Ansible
- SyncThing
- rclone
- FileBrowser (admin/password)
-------------------------------------"
echo "
-------------------------------------
Service Status
- WireGuard VPN : ${ENABLE_WIREGUARD}
- SyncThing : ${ENABLE_SYNCTHING}
- FileBrowser : ${ENABLE_FILEBROWSER}
-------------------------------------
"
if [ -f "/opt/ansible/ssh.key" ] ; then
echo "
-------------------------------------
Ansible SSH Key"
cat /opt/ansible/ssh.key.pub
echo "-------------------------------------
"
fi