diff options
author | W. Trevor King <wking@tremily.us> | 2013-03-03 07:58:16 -0500 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2013-11-21 22:01:49 -0800 |
commit | bd8c7e969c103bcd1d1d7064cc2614c489e9f6d0 (patch) | |
tree | eea527e45daf46fd908de594847b034875d9ead0 | |
parent | examples: Add newlines to accidentally unwrapped comment lines (diff) | |
download | catalyst-bd8c7e969c103bcd1d1d7064cc2614c489e9f6d0.tar.gz catalyst-bd8c7e969c103bcd1d1d7064cc2614c489e9f6d0.tar.bz2 catalyst-bd8c7e969c103bcd1d1d7064cc2614c489e9f6d0.zip |
livecdfs-update.sh: Fix '/etc/sshd' check for sshd_config tweaks
sshd_config lives in /etc/ssh, not /etc/sshd. This typo has been
present since the block was introduced by c06264e (Initial import of
Catalyst 2.0.0, 2005-04-04), so it's obviously not a widely used
feature ;). It might be better to just remove the block entirely.
-rwxr-xr-x | targets/support/livecdfs-update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index a1ae134d..620ad7ee 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -5,7 +5,7 @@ RUN_DEFAULT_FUNCS="no" source /tmp/chroot-functions.sh # Allow root logins to our CD by default -if [ -e /etc/sshd/sshd_config ] +if [ -e /etc/ssh/sshd_config ] then sed -i 's:^#PermitRootLogin\ yes:PermitRootLogin\ yes:' \ /etc/ssh/sshd_config |