Initial commit
This commit is contained in:
+19
@@ -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
|
||||
Reference in New Issue
Block a user