]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
core94: fix sed syntax.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 27 Sep 2015 08:42:01 +0000 (10:42 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 27 Sep 2015 08:42:01 +0000 (10:42 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/94/update.sh

index 6df09582a4694c0a23ffe6da74cd66883c68c397..e2005af01b5e7a99e8026ae5097514e350fb4c57 100644 (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}