Files

11 lines
216 B
Bash

#!/bin/sh
set -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
if command -v systemctl >/dev/null 2>&1; then
systemctl disable --now bearer.service bearer.socket >/dev/null 2>&1 || true
fi
fi
exit 0