forked ssh and installed tinc

This commit is contained in:
jkoschke
2022-01-13 02:04:01 +01:00
parent a073c3af33
commit e69591d2b8
28 changed files with 500 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# Start sshd service if enabled
# ==============================================================================
# If SSH is disabled, use a fake sleep process
if ! bashio::var.has_value "$(bashio::addon.port 22)"; then
bashio::log.warning "SSH port is disabled. Prevent start of SSH server."
exec sleep infinity
fi
bashio::log.info "Starting the SSH daemon..."
exec /usr/sbin/sshd -D -e