mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
14 lines
314 B
Bash
14 lines
314 B
Bash
#!/bin/sh
|
|
# Kept for backward compatibility. OpenSSH Host Keys are generated
|
|
# by "ssh-generate-hostkeys.service" systemd unit or "ssh-generate-hostkeys"
|
|
# sysvinit script (#431).
|
|
|
|
set -eu
|
|
|
|
if [ -z "${1+x}" ] || [ -z "$1" ]; then
|
|
PAR="start"
|
|
else
|
|
PAR="$1"
|
|
fi
|
|
|
|
exec /etc/init.d/ssh-generate-hostkeys "$PAR"
|