#!/bin/bash
if systemctl is-active --quiet dbus_location.service; then
echo "dbus_location.service is enable, restarting..."
systemctl restart dbus_location.service
else
echo "dbus_location.service is not enable"
fi