diff --git a/scripts/fast-reboot b/scripts/fast-reboot index 198d3905d0..a3c7486e35 100755 --- a/scripts/fast-reboot +++ b/scripts/fast-reboot @@ -679,6 +679,12 @@ else fi for service in ${SERVICES_TO_STOP}; do + # Skip the masked services + state=$(systemctl is-enabled ${service}) + if [[ $state == "masked" ]]; then + continue + fi + debug "Stopping ${service} ..." # TODO: These exceptions for nat, sflow, lldp