0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-12-22 13:14:42 -05:00

Merge branch 'sgaluza-master'

This commit is contained in:
Adrian Dvergsdal 2016-03-28 18:10:59 +02:00
commit 8f364f68ee

View file

@ -118,14 +118,14 @@ if [ ! -f "$userConfFinalPath" ]; then
# Generate unique ssh keys for this container
dpkg-reconfigure openssh-server
fi
# Source custom scripts, if any
if [ -d /etc/sftp.d ]; then
for f in /etc/sftp.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Source custom scripts, if any
if [ -d /etc/sftp.d ]; then
for f in /etc/sftp.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec /usr/sbin/sshd -D