Initial commit

This commit is contained in:
Christian Klein
2026-07-17 22:04:41 +02:00
commit b6fee88aeb
5 changed files with 150 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
# Setup HTTP Server
if [[ "$HTTP_SERVER_DISABLE" == "false" ]]; then
# Set Port
sed -i "s/^.*server\.port.*/server.port = $HTTP_SERVER_PORT/" /etc/lighttpd/lighttpd.conf
# Start lighttpd
lighttpd -f /etc/lighttpd/lighttpd.conf
fi
# Start LLDP Deamon
lldpd
# Work through entrypoint scripts
find /docker-entrypoint-initdb.d/ -type f -executable -exec /bin/sh {} \;
# Open Shell for User
/bin/sh