Skip to content

Commit

Permalink
Merge pull request docker#1116 from AkihiroSuda/suda/issue-1112
Browse files Browse the repository at this point in the history
Fix typo in /etc/rc.d/sshd
  • Loading branch information
tianon committed Jan 15, 2016
2 parents 608e3e3 + 858cccc commit dd2b96a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/rootfs/etc/rc.d/sshd
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ fi
ln -s /var/lib/boot2docker/ssh /usr/local/etc/ssh

if [ ! -f /usr/local/etc/ssh/ssh_config ]; then
mv /usr/local/etc/ssh/ssh_config.example /usr/local/etc/ssh/ssh_config
mv /usr/local/etc/ssh/ssh_config_example /usr/local/etc/ssh/ssh_config
fi
if [ ! -f /usr/local/etc/ssh/sshd_config ]; then
mv /usr/local/etc/ssh/sshd_config.example /usr/local/etc/ssh/sshd_config
mv /usr/local/etc/ssh/sshd_config_example /usr/local/etc/ssh/sshd_config
fi

if ! grep -q "^UseDNS no" /usr/local/etc/ssh/sshd_config; then
Expand Down

0 comments on commit dd2b96a

Please # to comment.