Always run sshd

This commit is contained in:
Héctor Molinero Fernández
2020-03-01 16:13:40 +01:00
parent 259f66693c
commit 7cf3f7a1f9
5 changed files with 10 additions and 16 deletions

View File

@@ -1,4 +1,8 @@
#!/bin/sh
if [ ! -e /run/sshd/ ]; then
mkdir /run/sshd/
fi
exec 2>&1
exec /usr/sbin/sshd -D