update-public-ip/systemd/status

9 lines
157 B
Bash
Executable File

#!/bin/bash
CONF=$1
if [ -z "$CONF" ];
then
echo missing configuration argument, aborting
exit 1
fi
sudo systemctl status update-public-ip@$CONF