Prepare for translations
This commit is contained in:
parent
bf2f9ca063
commit
6fc3017853
|
@ -30,6 +30,11 @@
|
||||||
|
|
||||||
NO_OF_ARGS=$#
|
NO_OF_ARGS=$#
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
# Web site
|
# Web site
|
||||||
FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
|
FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
HOSTNAME=
|
HOSTNAME=
|
||||||
LETSENCRYPT_HOSTNAME=
|
LETSENCRYPT_HOSTNAME=
|
||||||
COUNTRY_CODE="US"
|
COUNTRY_CODE="US"
|
||||||
|
@ -177,7 +182,7 @@ if [ $LETSENCRYPT_HOSTNAME ]; then
|
||||||
fi
|
fi
|
||||||
sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.bundle.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME
|
sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.bundle.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME
|
||||||
sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME
|
sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME
|
||||||
|
|
||||||
# link the private key
|
# link the private key
|
||||||
if [ -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key ]; then
|
if [ -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key ]; then
|
||||||
if [ ! -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key.old ]; then
|
if [ ! -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key.old ]; then
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MYUSERNAME=$USER
|
MYUSERNAME=$USER
|
||||||
EMAILADDRESS=
|
EMAILADDRESS=
|
||||||
GROUP_NAME=
|
GROUP_NAME=
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MYUSERNAME=$USER
|
MYUSERNAME=$USER
|
||||||
MAILINGLIST=
|
MAILINGLIST=
|
||||||
SUBJECTTAG=
|
SUBJECTTAG=
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MY_USERNAME=
|
MY_USERNAME=
|
||||||
EXTENSION=
|
EXTENSION=
|
||||||
PASSWORD=
|
PASSWORD=
|
||||||
|
@ -71,11 +76,11 @@ function update_sip_user {
|
||||||
fi
|
fi
|
||||||
if [[ "$line" == *"<secret>"* ]]; then
|
if [[ "$line" == *"<secret>"* ]]; then
|
||||||
line="<secret>$PASSWORD</secret>"
|
line="<secret>$PASSWORD</secret>"
|
||||||
fi
|
fi
|
||||||
if [[ "$line" == *"<display>"* ]]; then
|
if [[ "$line" == *"<display>"* ]]; then
|
||||||
line="<display>$MY_USERNAME $EXTENSION</display>"
|
line="<display>$MY_USERNAME $EXTENSION</display>"
|
||||||
USER_FOUND=
|
USER_FOUND=
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo $line >> $NEW_CONFIG_FILE
|
echo $line >> $NEW_CONFIG_FILE
|
||||||
done < $CONFIG_FILE
|
done < $CONFIG_FILE
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MY_USERNAME=$1
|
MY_USERNAME=$1
|
||||||
SSH_PUBLIC_KEY="$2"
|
SSH_PUBLIC_KEY="$2"
|
||||||
GPG_KEYSERVER='hkp://keys.gnupg.net'
|
GPG_KEYSERVER='hkp://keys.gnupg.net'
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
EMAIL_ADDRESS=
|
EMAIL_ADDRESS=
|
||||||
NEW_USER_PASSWORD=
|
NEW_USER_PASSWORD=
|
||||||
|
|
||||||
|
@ -77,7 +82,7 @@ if [ ! $NEW_USER_PASSWORD ]; then
|
||||||
else
|
else
|
||||||
USERNAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $1}')
|
USERNAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $1}')
|
||||||
DOMAIN_NAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $2}')
|
DOMAIN_NAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $2}')
|
||||||
prosodyctl register $USERNAME $DOMAIN_NAME "$NEW_USER_PASSWORD"
|
prosodyctl register $USERNAME $DOMAIN_NAME "$NEW_USER_PASSWORD"
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -26,6 +26,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
CURR_USER=$USER
|
CURR_USER=$USER
|
||||||
|
|
||||||
# Version number of this script
|
# Version number of this script
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
USERNAME=
|
USERNAME=
|
||||||
COUNTRY_CODE="US"
|
COUNTRY_CODE="US"
|
||||||
AREA="Free Speech Zone"
|
AREA="Free Speech Zone"
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
NO_OF_ARGS=$#
|
NO_OF_ARGS=$#
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
# Web site
|
# Web site
|
||||||
FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
|
FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
COMPLETION_FILE=$HOME/freedombone-completed.txt
|
COMPLETION_FILE=$HOME/freedombone-completed.txt
|
||||||
SELECTED_USERNAME=
|
SELECTED_USERNAME=
|
||||||
SIP_CONFIG_FILE=/etc/sipwitch.conf
|
SIP_CONFIG_FILE=/etc/sipwitch.conf
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
# Default username for disk images
|
# Default username for disk images
|
||||||
DEFAULT_IMAGE_USERNAME='freedom'
|
DEFAULT_IMAGE_USERNAME='freedom'
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
if [ ! $1 ]; then
|
if [ ! $1 ]; then
|
||||||
echo 'Specify a drive, such as sdb, sdc, etc'
|
echo 'Specify a drive, such as sdb, sdc, etc'
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MYUSERNAME=$USER
|
MYUSERNAME=$USER
|
||||||
EMAIL_ADDRESS=
|
EMAIL_ADDRESS=
|
||||||
SUBJECT_TEXT=
|
SUBJECT_TEXT=
|
||||||
|
|
|
@ -29,6 +29,10 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
PROJECT_NAME='freedombone'
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
IMAGE_TYPE='beaglebone'
|
IMAGE_TYPE='beaglebone'
|
||||||
CURR_DIR=$(pwd)
|
CURR_DIR=$(pwd)
|
||||||
CURR_USER=$(echo $USER)
|
CURR_USER=$(echo $USER)
|
||||||
|
|
|
@ -31,6 +31,9 @@ set -x
|
||||||
|
|
||||||
PROJECT_NAME='freedombone'
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MY_USERNAME='debian'
|
MY_USERNAME='debian'
|
||||||
MY_PASSWORD='freedombone'
|
MY_PASSWORD='freedombone'
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
enable_serial_console() {
|
enable_serial_console() {
|
||||||
# By default, spawn a console on the serial port
|
# By default, spawn a console on the serial port
|
||||||
device="$1"
|
device="$1"
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
|
|
||||||
set -e # Exit on first error
|
set -e # Exit on first error
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
#set -x # Enable debugging
|
#set -x # Enable debugging
|
||||||
|
|
||||||
IMAGE=$1
|
IMAGE=$1
|
||||||
|
|
|
@ -26,6 +26,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
mkdir -p vendor
|
mkdir -p vendor
|
||||||
if [ -d vendor/vmdebootstrap ] ; then
|
if [ -d vendor/vmdebootstrap ] ; then
|
||||||
(cd vendor/vmdebootstrap; git checkout .; git pull)
|
(cd vendor/vmdebootstrap; git checkout .; git pull)
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
USB_DRIVE=/dev/sdb1
|
USB_DRIVE=/dev/sdb1
|
||||||
USB_MOUNT=/mnt/usb
|
USB_MOUNT=/mnt/usb
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
WEBSERVER_LOG_LEVEL='warn'
|
WEBSERVER_LOG_LEVEL='warn'
|
||||||
|
|
||||||
if [ ! "$1" ]; then
|
if [ ! "$1" ]; then
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MUMBLE_PATH=/usr/bin/mumble
|
MUMBLE_PATH=/usr/bin/mumble
|
||||||
TOXIC_PATH=/usr/bin/toxic
|
TOXIC_PATH=/usr/bin/toxic
|
||||||
DHTNODES=/usr/share/toxic/DHTnodes
|
DHTNODES=/usr/share/toxic/DHTnodes
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
# client or server installations sounds odd for a mesh, but this
|
# client or server installations sounds odd for a mesh, but this
|
||||||
# indicates whether this is a dedicated mesh peer ("yes") or
|
# indicates whether this is a dedicated mesh peer ("yes") or
|
||||||
# a 'client' such as a laptop or desktop machine with
|
# a 'client' such as a laptop or desktop machine with
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
# The number of arguments
|
# The number of arguments
|
||||||
NO_OF_ARGS=$#
|
NO_OF_ARGS=$#
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
# Version number of this script
|
# Version number of this script
|
||||||
VERSION="1.01"
|
VERSION="1.01"
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
FRIENDS_SERVERS_LIST=
|
FRIENDS_SERVERS_LIST=
|
||||||
MY_USERNAME=
|
MY_USERNAME=
|
||||||
GPG_USB_DRIVE='sdb1'
|
GPG_USB_DRIVE='sdb1'
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
|
|
||||||
NO_OF_ARGS=$#
|
NO_OF_ARGS=$#
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
# User to create the list for
|
# User to create the list for
|
||||||
MY_USERNAME=$USER
|
MY_USERNAME=$USER
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
HOSTNAME=
|
HOSTNAME=
|
||||||
PROVIDER='startssl'
|
PROVIDER='startssl'
|
||||||
DH_KEYLENGTH=2048
|
DH_KEYLENGTH=2048
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MYUSERNAME=$USER
|
MYUSERNAME=$USER
|
||||||
|
|
||||||
function show_help {
|
function show_help {
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MYUSERNAME=$USER
|
MYUSERNAME=$USER
|
||||||
MAILINGLIST=
|
MAILINGLIST=
|
||||||
LIST_ADDRESS=
|
LIST_ADDRESS=
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MY_USERNAME=$1
|
MY_USERNAME=$1
|
||||||
CONFIG_FILE=/etc/sipwitch.conf
|
CONFIG_FILE=/etc/sipwitch.conf
|
||||||
USER_EXISTS="no"
|
USER_EXISTS="no"
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MY_USERNAME=$1
|
MY_USERNAME=$1
|
||||||
COMPLETION_FILE=$HOME/freedombone-completed.txt
|
COMPLETION_FILE=$HOME/freedombone-completed.txt
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
EMAIL_ADDRESS=
|
EMAIL_ADDRESS=
|
||||||
|
|
||||||
function show_help {
|
function show_help {
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
SSL_PROTOCOLS=
|
SSL_PROTOCOLS=
|
||||||
SSL_CIPHERS=
|
SSL_CIPHERS=
|
||||||
SSH_CIPHERS=
|
SSH_CIPHERS=
|
||||||
|
@ -404,11 +409,11 @@ function renew_startssl {
|
||||||
--msgbox "An existing certificate for $renew_domain was not found" 6 40
|
--msgbox "An existing certificate for $renew_domain was not found" 6 40
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $renew_domain != *"."* ]]; then
|
if [[ $renew_domain != *"."* ]]; then
|
||||||
dialog --title "Renew a StartSSL certificate" \
|
dialog --title "Renew a StartSSL certificate" \
|
||||||
--msgbox "Invalid domain name: $renew_domain" 6 40
|
--msgbox "Invalid domain name: $renew_domain" 6 40
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
freedombone-renew-cert -h $renew_domain -p startssl
|
freedombone-renew-cert -h $renew_domain -p startssl
|
||||||
|
@ -445,11 +450,11 @@ function renew_letsencrypt {
|
||||||
--msgbox "An existing certificate for $renew_domain was not found" 6 40
|
--msgbox "An existing certificate for $renew_domain was not found" 6 40
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $renew_domain != *"."* ]]; then
|
if [[ $renew_domain != *"."* ]]; then
|
||||||
dialog --title "Renew a Let's Encrypt certificate" \
|
dialog --title "Renew a Let's Encrypt certificate" \
|
||||||
--msgbox "Invalid domain name: $renew_domain" 6 40
|
--msgbox "Invalid domain name: $renew_domain" 6 40
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
freedombone-renew-cert -h $renew_domain -p 'letsencrypt'
|
freedombone-renew-cert -h $renew_domain -p 'letsencrypt'
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
CONFIG_FILE=/etc/sipwitch.conf
|
CONFIG_FILE=/etc/sipwitch.conf
|
||||||
|
|
||||||
maxnum=201
|
maxnum=201
|
||||||
|
|
|
@ -34,6 +34,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
KEY_FRAGMENTS=3
|
KEY_FRAGMENTS=3
|
||||||
MY_USERNAME=
|
MY_USERNAME=
|
||||||
MY_EMAIL_ADDRESS=
|
MY_EMAIL_ADDRESS=
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
MYUSERNAME=$USER
|
MYUSERNAME=$USER
|
||||||
EMAIL_ADDRESS=
|
EMAIL_ADDRESS=
|
||||||
SUBJECT_TEXT=
|
SUBJECT_TEXT=
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
EMAIL_ADDRESS=
|
EMAIL_ADDRESS=
|
||||||
|
|
||||||
function show_help {
|
function show_help {
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
|
||||||
|
export TEXTDOMAIN=$PROJECT_NAME
|
||||||
|
export TEXTDOMAINDIR="/usr/share/locale"
|
||||||
|
|
||||||
WEB_PAGE_TITLE="Freedombone Mesh"
|
WEB_PAGE_TITLE="Freedombone Mesh"
|
||||||
TRACKER_PORT=6969
|
TRACKER_PORT=6969
|
||||||
ZERONET_INSTALL=/opt/zeronet
|
ZERONET_INSTALL=/opt/zeronet
|
||||||
|
|
Loading…
Reference in New Issue