Files
Raspberry-Pi-Bluetooth/raspi-bluetooth/DEBIAN/prerm
Cantibra c372b643a2
All checks were successful
Raspberry Pi Bluetooth / Raspberry Pi Bluetooth (arm64, bookworm, main) (push) Successful in 11s
Initialize Git Repository: 'Raspberry-Pi-Bluetooth'
2026-03-19 14:16:15 +01:00

16 lines
331 B
Bash

#!/usr/bin/sh
set -e
set -u
case "${1}" in
remove)
if [ -x '/usr/bin/deb-systemd-invoke' ]; then
/usr/bin/deb-systemd-invoke stop 'hciuart.service' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-invoke disable 'hciuart.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
;;
esac