Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:pending commit in: targets/support/
Date: Thu, 26 Feb 2015 19:25:36
Message-Id: 1424978120.131464c86740ee6f6432e63035b02302305a3c2a.dolsen@gentoo
1 commit: 131464c86740ee6f6432e63035b02302305a3c2a
2 Author: W. Trevor King <wking <AT> tremily <DOT> us>
3 AuthorDate: Sun Mar 3 12:58:16 2013 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 26 19:15:20 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=131464c8
7
8 livecdfs-update.sh: Fix '/etc/sshd' check for sshd_config tweaks
9
10 sshd_config lives in /etc/ssh, not /etc/sshd. This typo has been
11 present since the block was introduced by c06264e (Initial import of
12 Catalyst 2.0.0, 2005-04-04), so it's obviously not a widely used
13 feature ;). It might be better to just remove the block entirely.
14
15 ---
16 targets/support/livecdfs-update.sh | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
20 index b017baf..60a9a6f 100755
21 --- a/targets/support/livecdfs-update.sh
22 +++ b/targets/support/livecdfs-update.sh
23 @@ -5,7 +5,7 @@ RUN_DEFAULT_FUNCS="no"
24 source /tmp/chroot-functions.sh
25
26 # Allow root logins to our CD by default
27 -if [ -e /etc/sshd/sshd_config ]
28 +if [ -e /etc/ssh/sshd_config ]
29 then
30 sed -i 's:^#PermitRootLogin\ yes:PermitRootLogin\ yes:' \
31 /etc/ssh/sshd_config