forked from norman/fusionpbx-install.sh-github-mirror
POSIX sh empty value check compatibility - part 1 (#62)
# Conflicts: # debian/resources/switch/package-all.sh # debian/resources/switch/package-release.sh
This commit is contained in:
2
debian/resources/arguments.sh
vendored
2
debian/resources/arguments.sh
vendored
@@ -31,7 +31,7 @@ if [ -z "$CPU_CHECK" ]; then
|
||||
esac
|
||||
done
|
||||
|
||||
if [ $HELP = true ]; then
|
||||
if [ .$HELP = .true ]; then
|
||||
warning "Debian installer script"
|
||||
warning " --use-switch-source will use freeswitch from source rather than ${green}(default:packages)"
|
||||
warning " --use-switch-package-all if using packages use the meta-all package"
|
||||
|
||||
2
debian/resources/fail2ban.sh
vendored
2
debian/resources/fail2ban.sh
vendored
@@ -23,7 +23,7 @@ cp fail2ban/nginx-dos.conf /etc/fail2ban/filter.d/nginx-dos.conf
|
||||
cp fail2ban/jail.local /etc/fail2ban/jail.local
|
||||
|
||||
#update config if source is being used
|
||||
if [ $USE_FREESWITCH_SOURCE = true ]; then
|
||||
if [ .$USE_FREESWITCH_SOURCE = .true ]; then
|
||||
sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local
|
||||
fi
|
||||
|
||||
|
||||
2
debian/resources/fusionpbx.sh
vendored
2
debian/resources/fusionpbx.sh
vendored
@@ -13,7 +13,7 @@ verbose "Installing FusionPBX"
|
||||
apt-get install -y --force-yes vim git dbus haveged ssl-cert
|
||||
apt-get install -y --force-yes ghostscript libtiff5-dev libtiff-tools
|
||||
|
||||
if [ $USE_SYSTEM_MASTER = true ]; then
|
||||
if [ .$USE_SYSTEM_MASTER = .true ]; then
|
||||
verbose "Using master"
|
||||
BRANCH=""
|
||||
else
|
||||
|
||||
2
debian/resources/reboot_phones.sh
vendored
2
debian/resources/reboot_phones.sh
vendored
@@ -24,7 +24,7 @@ INPUT=$FILE
|
||||
#Loop through the registrations and reboot
|
||||
[ ! -f $INPUT ] &while read reg_user realm extra
|
||||
do
|
||||
if [ "$realm" = "$domain" ]; then
|
||||
if [ ."$realm" = ."$domain" ]; then
|
||||
eval 'fs_cli -x "luarun app.lua event_notify internal reboot $reg_user@$realm $vendor"'
|
||||
if [ "$pausetime" > 0 ]; then
|
||||
sleep $pausetime
|
||||
|
||||
Reference in New Issue
Block a user