#!/bin/sh
#
# Copyright (c) 2020, Oracle and/or its affiliates.
#

NM_SVC="NetworkManager.service"

if /usr/bin/systemctl -q is-active $NM_SVC; then
    echo "try restart $NM_SVC"
    /usr/bin/systemctl reload-or-try-restart $NM_SVC
fi

# vi: syntax=sh ts=4 expandtab
