core94: fix sed syntax.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2015-09-27 10:42:01 +02:00
parent 02626065a8
commit d82c564b23

View File

@@ -44,7 +44,7 @@ extract_files
# Update SSH configuration
sed -i /etc/ssh/sshd_config \
-e 's/^#\?PermitRootLogin .*$$/PermitRootLogin yes/'
-e 's/^#\?PermitRootLogin .*$/PermitRootLogin yes/'
# Move away old and unsupported keys
mv -f /etc/ssh/ssh_host_dsa_key{,.old}