stop systemd service before diabling in uninstall, taken from upstream c1c2e5ca

This commit is contained in:
Hin-Tak Leung 2020-09-28 17:02:11 +01:00
parent e85006b775
commit e0f9a554fc
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ echo "remove alsa configs"
rm -rf /etc/voicecard/ || true
echo "disabled seeed-voicecard.service "
systemctl stop seeed-voicecard.service
systemctl disable seeed-voicecard.service
echo "remove seeed-voicecard"