mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Core Update 175: Ship and restart OpenSSH
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/175/filelists/openssh
Symbolic link
1
config/rootfiles/core/175/filelists/openssh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openssh
|
||||
@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
|
||||
done
|
||||
|
||||
# Stop services
|
||||
/etc/rc.d/init.d/sshd stop
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
@@ -55,7 +56,13 @@ ldconfig
|
||||
# Filesytem cleanup
|
||||
/usr/local/bin/filesystem-cleanup
|
||||
|
||||
# Apply local configuration to sshd_config
|
||||
/usr/local/bin/sshctrl
|
||||
|
||||
# Start services
|
||||
if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then
|
||||
/etc/init.d/sshd start
|
||||
fi
|
||||
|
||||
# This update needs a reboot...
|
||||
#touch /var/run/need_reboot
|
||||
|
||||
Reference in New Issue
Block a user