piframe/piframefleet/root/etc/cont-init.d/00-welcome

29 lines
660 B
Plaintext
Raw Normal View History

2020-08-02 20:15:13 +00:00
#!/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}
-------------------------------------
"
2020-08-04 18:58:38 +00:00
if [ -f "/opt/ansible/ssh.key" ] ; then
echo "
-------------------------------------
Ansible SSH Key"
cat /opt/ansible/ssh.key.pub
echo "-------------------------------------
"
fi