aboutsummaryrefslogtreecommitdiff
path: root/dbx-init
blob: 5f7949d1f85c70b1e7e75975d9cbe4293a80a0ec (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-only

set -euo pipefail

if [[ ! -f /run/.dbxenv ]]; then
    echo "ERROR: not in a devbox" >&2
fi

exec tini /usr/sbin/sshd -- -D -e