Update asl-wizard.sh

This commit is contained in:
Esteban Mackay Q 2023-11-26 02:54:46 -05:00
parent 52ee04adbc
commit 17669cffd1
1 changed files with 2 additions and 0 deletions

View File

@ -14,7 +14,9 @@ chmod +x buster
fi
apt-get update && apt-get upgrade -y
if ! grep -q 'Raspberry' /proc/cpuinfo; then
if ! [ -d "/etc/asterisk" ]; then
apt-get install allstar -y
fi
fi
if [ -f "/lib/systemd/system/asterisk.service" ]; then
systemctl stop asterisk