mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Merge branch 'sgaluza-master'
This commit is contained in:
commit
8f364f68ee
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
# 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
|
||||
fi
|
||||
|
||||
exec /usr/sbin/sshd -D
|
||||
|
|
Loading…
Reference in a new issue