mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 07:50:23 +02:00
Fix spikes in qos-graphs
This commit is contained in:
5
config/rootfiles/core/28/update.sh
Executable file → Normal file
5
config/rootfiles/core/28/update.sh
Executable file → Normal file
@@ -120,5 +120,10 @@ rm -rf /etc/sysconfig/lm_sensors
|
||||
#
|
||||
sed -i "s|$OLDVERSION|$NEWVERSION|g" /opt/pakfire/etc/pakfire.conf
|
||||
#
|
||||
# Regenerate qos-scripts
|
||||
[ -e /var/ipfire/qos/enable ] && /usr/local/bin/qosctrl stop
|
||||
/usr/local/bin/qosctrl generate
|
||||
[ -e /var/ipfire/qos/enable ] && /usr/local/bin/qosctrl start
|
||||
#
|
||||
# This core-update need a reboot
|
||||
/usr/bin/logger -p syslog.emerg -t core-upgrade-28 "Upgrade finished. Please reboot... "
|
||||
|
||||
Reference in New Issue
Block a user