diff options
Diffstat (limited to 'container/init')
| -rwxr-xr-x | container/init | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/container/init b/container/init new file mode 100755 index 0000000..24b6629 --- /dev/null +++ b/container/init @@ -0,0 +1,10 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-3.0-only +# SPDX-FileCopyrightText: 2026 Nicholas Rodrigues Lordello <[email protected]> + +if [ ! -f /run/.dbxenv ]; then + echo "ERROR: not in a devbox" >&2 + exit 1 +fi + +exec /usr/bin/tini /usr/sbin/sshd -- -D -e |
