mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
core143: stop/start updated services
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
|
||||
|
||||
core=142
|
||||
core=143
|
||||
|
||||
exit_with_error() {
|
||||
# Set last succesfull installed core.
|
||||
@@ -48,6 +48,7 @@ done
|
||||
rm -rf /usr/lib/go/9.2.0
|
||||
|
||||
# Stop services
|
||||
/etc/init.d/suricata stop
|
||||
|
||||
# move swap after mount
|
||||
mv -f /etc/rc.d/rcsysinit.d/S20swap \
|
||||
@@ -74,6 +75,12 @@ telinit u
|
||||
# Apply local configuration to sshd_config
|
||||
/usr/local/bin/sshctrl
|
||||
|
||||
# Start services
|
||||
/usr/local/bin/ipsecctrl S
|
||||
/etc/init.d/unbound restart
|
||||
/etc/init.d/sshd restart
|
||||
/etc/init.d/suricata start
|
||||
|
||||
# remove dropped packages
|
||||
for package in bluetooth; do
|
||||
if [ -e /opt/pakfire/db/installed/meta-$package ]; then
|
||||
|
||||
Reference in New Issue
Block a user