From: Peter Müller Date: Sat, 30 Dec 2023 06:57:03 +0000 (+0000) Subject: Core Update 183: Ship and restart OpenSSH X-Git-Tag: v2.29-core183~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bbf603475231722e21f85750441ed18c0516403;p=ipfire-2.x.git Core Update 183: Ship and restart OpenSSH Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/183/filelists/openssh b/config/rootfiles/core/183/filelists/openssh new file mode 120000 index 0000000000..d8c77fd8e7 --- /dev/null +++ b/config/rootfiles/core/183/filelists/openssh @@ -0,0 +1 @@ +../../../common/openssh \ No newline at end of file diff --git a/config/rootfiles/core/183/update.sh b/config/rootfiles/core/183/update.sh index 8eaab80c24..b5b10667bd 100644 --- a/config/rootfiles/core/183/update.sh +++ b/config/rootfiles/core/183/update.sh @@ -44,6 +44,7 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +/etc/rc.d/init.d/sshd stop KVER="xxxKVERxxx" @@ -103,6 +104,9 @@ ldconfig /usr/local/bin/sshctrl # Start services +if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then + /etc/init.d/sshd start +fi # Rebuild initial ramdisks dracut --regenerate-all --force