Core Update 182: Ship and restart OpenSSH

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2023-11-22 16:14:26 +00:00
parent fc1ee4e1e2
commit 2087214036
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../common/openssh

View File

@@ -35,6 +35,7 @@ done
/etc/rc.d/init.d/ipsec stop
/etc/rc.d/init.d/squid stop
/etc/rc.d/init.d/unbound stop
/etc/rc.d/init.d/sshd stop
# Extract files
extract_files
@@ -66,8 +67,14 @@ ldconfig
# Filesytem cleanup
/usr/local/bin/filesystem-cleanup
# Apply local configuration to sshd_config
/usr/local/bin/sshctrl
# Start services
/etc/init.d/unbound start
if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then
/etc/init.d/sshd start
fi
if [ -f /var/ipfire/proxy/enable ]; then
/etc/init.d/squid start
fi