This commit is contained in:
Christopher Cookman 2025-03-02 18:07:52 -07:00
parent 5a4dc4d060
commit 0adc718c2e
2 changed files with 9 additions and 9 deletions

View file

@ -6,12 +6,12 @@ A little install script that installs FreePBX 17, but without all the commercial
```bash
curl -sSL https://git.chrischro.me/ChrisChrome/freepbx-oss/raw/branch/main/install.sh | bash
```
<!-- This is super not recommended, it needs a lot of work before it's ready for use.
Or if you're feeling like beta-testing, you can use the following to install FreePBX with NGINX instead of Apache2
```bash
curl -sSL https://git.chrischro.me/ChrisChrome/freepbx-oss/raw/branch/main/install-nginx.sh | bash
```
``` -->
## Arguments
- `-y` Skip all prompts

View file

@ -38,13 +38,13 @@ for i in "$@"; do
done
# If not skip, ask for confirmation
if [ "$SKIP_PROMPT" != true ]; then
read -p "This script will install FreePBX Open-Source, Asterisk 20, and many other dependencies, do you want to continue? (y/n): " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
exit 1
fi
fi
# if [ "$SKIP_PROMPT" != true ]; then
# read -p "This script will install FreePBX Open-Source, Asterisk 20, and many other dependencies, do you want to continue? (y/n): " -n 1 -r
# echo
# if [[ ! $REPLY =~ ^[Yy]$ ]]; then
# exit 1
# fi
# fi
apt-get update;
apt-get upgrade;