]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
core136: apply local sshd config and restart sshd at update
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 14 Sep 2019 18:13:21 +0000 (18:13 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 14 Sep 2019 18:13:21 +0000 (18:13 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/136/update.sh

index 56496bc92dd916b44c048cbf38f36353a0508b9f..81b7be9065c2a0b2affeef672fbc4cbb469a1926 100644 (file)
@@ -68,7 +68,11 @@ fcrontab -z &>/dev/null
 mv /etc/rc.d/rc0.d/K79unbound /etc/rc.d/rc0.d/K86unbound
 mv /etc/rc.d/rc6.d/K79unbound /etc/rc.d/rc6.d/K86unbound
 
+# Apply local configuration to sshd_config
+/usr/local/bin/sshctrl
+
 # Start services
+/etc/init.d/sshd restart
 /etc/init.d/apache restart
 
 # Update GeoIP