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
|
# Generate unique ssh keys for this container
|
||||||
dpkg-reconfigure openssh-server
|
dpkg-reconfigure openssh-server
|
||||||
|
fi
|
||||||
|
|
||||||
# Source custom scripts, if any
|
# Source custom scripts, if any
|
||||||
if [ -d /etc/sftp.d ]; then
|
if [ -d /etc/sftp.d ]; then
|
||||||
for f in /etc/sftp.d/*; do
|
for f in /etc/sftp.d/*; do
|
||||||
[ -x "$f" ] && . "$f"
|
[ -x "$f" ] && . "$f"
|
||||||
done
|
done
|
||||||
unset f
|
unset f
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec /usr/sbin/sshd -D
|
exec /usr/sbin/sshd -D
|
||||||
|
|
Loading…
Reference in a new issue