Skip to content

Commit

Permalink
cleaned up entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
run2go committed Mar 3, 2024
1 parent 648987e commit 5a333c2
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions container/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
#!/bin/bash

# Run docker requirements
containerd >/dev/null 2>&1 &
dockerd >/dev/null 2>&1 &

# Append an extra command to tunnel.sh, allowing tunnel.sh to run splash.sh
echo '/usr/local/bin/splash.sh "$tunnel"' >> '/usr/local/bin/tunnel.sh'

# Run "tunnel", have its output routed to /dev/null this once
tunnel >/dev/null 2>&1 &
# Update MOTD using splash.sh
./usr/local/bin/splash.sh

# Start shell
exec "$@"

0 comments on commit 5a333c2

Please sign in to comment.