Update allmon3.sh

This commit is contained in:
Esteban Mackay Q 2023-12-03 01:23:42 -05:00
parent b3edb8a9f1
commit 7f11755e8a
1 changed files with 4 additions and 1 deletions

View File

@ -76,7 +76,7 @@ dpkg -i allmon3_1.0.1-2_all.deb
samllm3 = 0
fi
fi
if [ -f "/etc/allmon3/allmon3.ini" ]; then
if [ -d "/etc/allmon3" ]; then
cat > "/etc/allmon3/allmon3.ini" <<- "EOFX"
;
; This is the master configuration file for all ASL/Asterisks node-related
@ -147,3 +147,6 @@ if [ $sapache = 1 ]; then
systemctl stop apache2
systemctl disable apache2
fi