#!/bin/sh

set -e

if command -v systemctl >/dev/null 2>&1; then
	if [ "$1" = "remove" ] || [ "$1" = "0" ]; then
		systemctl disable --now tunad.service || true
	fi
fi

exit 0
