From b060a56dbfa36d82150f9d5abf494a96db129a9f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 1 Jul 2017 19:14:28 +0100 Subject: [PATCH] Placeholder functions for turning logging on or off --- src/freedombone-app-batman | 8 ++++++++ src/freedombone-app-cryptpad | 8 ++++++++ src/freedombone-app-dlna | 8 ++++++++ src/freedombone-app-dokuwiki | 8 ++++++++ src/freedombone-app-emacs | 8 ++++++++ src/freedombone-app-etherpad | 8 ++++++++ src/freedombone-app-friendica | 8 ++++++++ src/freedombone-app-ghost | 8 ++++++++ src/freedombone-app-gnusocial | 8 ++++++++ src/freedombone-app-gogs | 8 ++++++++ src/freedombone-app-htmly | 8 ++++++++ src/freedombone-app-hubzilla | 8 ++++++++ src/freedombone-app-ipfs | 8 ++++++++ src/freedombone-app-irc | 8 ++++++++ src/freedombone-app-jitsi | 8 ++++++++ src/freedombone-app-koel | 8 ++++++++ src/freedombone-app-librevault | 8 ++++++++ src/freedombone-app-lychee | 7 +++++++ src/freedombone-app-mailpile | 8 ++++++++ src/freedombone-app-matrix | 8 ++++++++ src/freedombone-app-mediagoblin | 8 ++++++++ src/freedombone-app-movim | 8 ++++++++ src/freedombone-app-mumble | 8 ++++++++ src/freedombone-app-nextcloud | 8 ++++++++ src/freedombone-app-pelican | 7 +++++++ src/freedombone-app-pihole | 8 ++++++++ src/freedombone-app-postactiv | 8 ++++++++ src/freedombone-app-profanity | 8 ++++++++ src/freedombone-app-radicale | 8 ++++++++ src/freedombone-app-riot | 8 ++++++++ src/freedombone-app-rss | 8 ++++++++ src/freedombone-app-scuttlebot | 8 ++++++++ src/freedombone-app-searx | 8 ++++++++ src/freedombone-app-sip | 8 ++++++++ src/freedombone-app-syncthing | 8 ++++++++ src/freedombone-app-tahoelafs | 8 ++++++++ src/freedombone-app-tox | 8 ++++++++ src/freedombone-app-turtl | 8 ++++++++ src/freedombone-app-vim | 8 ++++++++ src/freedombone-app-vpn | 8 ++++++++ src/freedombone-app-xmpp | 8 ++++++++ src/freedombone-app-zeronet | 8 ++++++++ 42 files changed, 334 insertions(+) diff --git a/src/freedombone-app-batman b/src/freedombone-app-batman index 419b7609..3d4efbab 100755 --- a/src/freedombone-app-batman +++ b/src/freedombone-app-batman @@ -39,6 +39,14 @@ BATMAN_CELLID='any' batman_variables=(MY_USERNAME BATMAN_CELLID) +function logging_on_batman { + echo -n '' +} + +function logging_off_batman { + echo -n '' +} + function install_interactive_batman { echo -n '' APP_INSTALLED=1 diff --git a/src/freedombone-app-cryptpad b/src/freedombone-app-cryptpad index aa36c575..91e5104a 100755 --- a/src/freedombone-app-cryptpad +++ b/src/freedombone-app-cryptpad @@ -42,6 +42,14 @@ CRYPTPAD_DIR=/etc/cryptpad cryptpad_variables=(ONION_ONLY) +function logging_on_cryptpad { + echo -n '' +} + +function logging_off_cryptpad { + echo -n '' +} + function remove_user_cryptpad { remove_username="$1" } diff --git a/src/freedombone-app-dlna b/src/freedombone-app-dlna index 3033d7b4..55ada1c2 100755 --- a/src/freedombone-app-dlna +++ b/src/freedombone-app-dlna @@ -38,6 +38,14 @@ dlna_variables=(SYSTEM_TYPE INSTALLED_WITHIN_DOCKER MY_USERNAME) +function logging_on_dlna { + echo -n '' +} + +function logging_off_dlna { + echo -n '' +} + function configure_interactive_dlna { while true do diff --git a/src/freedombone-app-dokuwiki b/src/freedombone-app-dokuwiki index 439d1218..8b6843a4 100755 --- a/src/freedombone-app-dokuwiki +++ b/src/freedombone-app-dokuwiki @@ -49,6 +49,14 @@ dokuwiki_variables=(ONION_ONLY DOKUWIKI_CODE DDNS_PROVIDER) +function logging_on_dokuwiki { + echo -n '' +} + +function logging_off_dokuwiki { + echo -n '' +} + function install_interactive_dokuwiki { if [[ $ONION_ONLY != "no" ]]; then DOKUWIKI_TITLE=$'My Dokuwiki' diff --git a/src/freedombone-app-emacs b/src/freedombone-app-emacs index f163730e..22132076 100755 --- a/src/freedombone-app-emacs +++ b/src/freedombone-app-emacs @@ -36,6 +36,14 @@ SHOW_ON_ABOUT=0 emacs_variables=(USB_MOUNT MY_USERNAME) +function logging_on_emacs { + echo -n '' +} + +function logging_off_emacs { + echo -n '' +} + function reconfigure_emacs { echo -n '' } diff --git a/src/freedombone-app-etherpad b/src/freedombone-app-etherpad index 63d60ad9..2ec7620f 100755 --- a/src/freedombone-app-etherpad +++ b/src/freedombone-app-etherpad @@ -52,6 +52,14 @@ etherpad_variables=(ONION_ONLY DDNS_PROVIDER MY_USERNAME) +function logging_on_etherpad { + echo -n '' +} + +function logging_off_etherpad { + echo -n '' +} + function etherpad_password_hash { echo $(python -c "from passlib.hash import bcrypt;print(bcrypt.encrypt(\"$1\", rounds=10))") } diff --git a/src/freedombone-app-friendica b/src/freedombone-app-friendica index dd4748d3..f67ff65b 100755 --- a/src/freedombone-app-friendica +++ b/src/freedombone-app-friendica @@ -50,6 +50,14 @@ friendica_variables=(ONION_ONLY FRIENDICA_REPO FRIENDICA_ADDONS_REPO) +function logging_on_friendica { + echo -n '' +} + +function logging_off_friendica { + echo -n '' +} + function remove_user_friendica { remove_username="$1" ${PROJECT_NAME}-pass -u $remove_username --rmapp friendica diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index 59c2e8e4..057d2bf5 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -49,6 +49,14 @@ ghost_variables=(GHOST_DOMAIN_NAME DDNS_PROVIDER MY_USERNAME) +function logging_on_ghost { + echo -n '' +} + +function logging_off_ghost { + echo -n '' +} + function ghost_replace_jquery { sed -i "s|code.jquery.com/jquery-${previous_jquery_version}.min.js|$GHOST_DOMAIN_NAME/jquery-${jquery_version}.js|g" content/themes/casper/default.hbs sed -i "s|code.jquery.com/jquery-${previous_jquery_version}.min.js|$GHOST_DOMAIN_NAME/jquery-${jquery_version}.js|g" core/server/data/migration/fixtures/004/01-move-jquery-with-alert.js diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index e5f192a6..605694f9 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -57,6 +57,14 @@ gnusocial_variables=(ONION_ONLY GNUSOCIAL_EXPIRE_MONTHS MY_USERNAME) +function logging_on_gnusocial { + echo -n '' +} + +function logging_off_gnusocial { + echo -n '' +} + function gnusocial_fix_endless_reloads { # This fixes a bug introduced with commit 5f7032dfee1fd202c14e76a9f8b37af35d584901 # and which causes OrFox to endlessly reload the page diff --git a/src/freedombone-app-gogs b/src/freedombone-app-gogs index e6cb5087..03b87d76 100755 --- a/src/freedombone-app-gogs +++ b/src/freedombone-app-gogs @@ -51,6 +51,14 @@ gogs_variables=(ONION_ONLY DDNS_PROVIDER ARCHITECTURE) +function logging_on_gogs { + echo -n '' +} + +function logging_off_gogs { + echo -n '' +} + function change_password_gogs { curr_username="$1" new_user_password="$2" diff --git a/src/freedombone-app-htmly b/src/freedombone-app-htmly index 4d926988..2436828a 100755 --- a/src/freedombone-app-htmly +++ b/src/freedombone-app-htmly @@ -50,6 +50,14 @@ htmly_variables=(HTMLY_REPO DDNS_PROVIDER MY_USERNAME) +function logging_on_htmly { + echo -n '' +} + +function logging_off_htmly { + echo -n '' +} + function set_avatar_from_url { AVATAR="$1" diff --git a/src/freedombone-app-hubzilla b/src/freedombone-app-hubzilla index 8bf80802..9ccc8a8b 100755 --- a/src/freedombone-app-hubzilla +++ b/src/freedombone-app-hubzilla @@ -51,6 +51,14 @@ hubzilla_variables=(ONION_ONLY HUBZILLA_REPO HUBZILLA_ADDONS_REPO) +function logging_on_hubzilla { + echo -n '' +} + +function logging_off_hubzilla { + echo -n '' +} + function remove_user_hubzilla { remove_username="$1" ${PROJECT_NAME}-pass -u $remove_username --rmapp hubzilla diff --git a/src/freedombone-app-ipfs b/src/freedombone-app-ipfs index 87d7b347..92aec6ed 100755 --- a/src/freedombone-app-ipfs +++ b/src/freedombone-app-ipfs @@ -48,6 +48,14 @@ ipfs_variables=(IPFS_GO_VERSION IPFS_KEY_LENGTH IPFS_PORT) +function logging_on_ipfs { + echo -n '' +} + +function logging_off_ipfs { + echo -n '' +} + function install_interactive_ipfs { echo -n '' APP_INSTALLED=1 diff --git a/src/freedombone-app-irc b/src/freedombone-app-irc index fab8ae57..b578d763 100755 --- a/src/freedombone-app-irc +++ b/src/freedombone-app-irc @@ -54,6 +54,14 @@ irc_variables=(MY_USERNAME IRC_BUFFER_LENGTH ONION_ONLY) +function logging_on_irc { + echo -n '' +} + +function logging_off_irc { + echo -n '' +} + function irc_get_global_password { echo $(cat /etc/ngircd/ngircd.conf | grep "Password =" | head -n 1 | awk -F '=' '{print $2}') } diff --git a/src/freedombone-app-jitsi b/src/freedombone-app-jitsi index ade10d5e..3348f9df 100755 --- a/src/freedombone-app-jitsi +++ b/src/freedombone-app-jitsi @@ -51,6 +51,14 @@ jitsi_variables=(ONION_ONLY DEFAULT_DOMAIN_NAME MY_USERNAME) +function logging_on_jitsi { + echo -n '' +} + +function logging_off_jitsi { + echo -n '' +} + function jitsi_disable_google_spyware { # Presumably they included Google Analytics for benign reasons, but it's # an obvious security problem. This should disable it. diff --git a/src/freedombone-app-koel b/src/freedombone-app-koel index 0a0577ea..b9d200e9 100755 --- a/src/freedombone-app-koel +++ b/src/freedombone-app-koel @@ -49,6 +49,14 @@ koel_variables=(ONION_ONLY MY_EMAIL_ADDRESS MY_USERNAME) +function logging_on_koel { + echo -n '' +} + +function logging_off_koel { + echo -n '' +} + function koel_remove_gravatar { cd /var/www/${KOEL_DOMAIN_NAME}/htdocs sed -i "s|www.gravatar.com|${KOEL_DOMAIN_NAME}|g" node_modules/browser-sync-ui/public/js/app.js.map diff --git a/src/freedombone-app-librevault b/src/freedombone-app-librevault index 4bdf1492..59422e07 100755 --- a/src/freedombone-app-librevault +++ b/src/freedombone-app-librevault @@ -44,6 +44,14 @@ librevault_variables=(PROTOBUF_REPO LIBREVAULT_REPO LIBREVAULT_PORT) +function logging_on_librevault { + echo -n '' +} + +function logging_off_librevault { + echo -n '' +} + function install_interactive_librevault { echo -n '' APP_INSTALLED=1 diff --git a/src/freedombone-app-lychee b/src/freedombone-app-lychee index b0e3de1f..c175dc07 100755 --- a/src/freedombone-app-lychee +++ b/src/freedombone-app-lychee @@ -46,6 +46,13 @@ lychee_variables=(LYCHEE_REPO DDNS_PROVIDER MY_USERNAME) +function logging_on_lychee { + echo -n '' +} + +function logging_off_lychee { + echo -n '' +} function lychee_create_database { if [ -f ${IMAGE_PASSWORD_FILE} ]; then diff --git a/src/freedombone-app-mailpile b/src/freedombone-app-mailpile index c9e463b8..e47d1b4d 100755 --- a/src/freedombone-app-mailpile +++ b/src/freedombone-app-mailpile @@ -47,6 +47,14 @@ mailpile_variables=(MAILPILE_REPO DDNS_PROVIDER MY_USERNAME) +function logging_on_mailpile { + echo -n '' +} + +function logging_off_mailpile { + echo -n '' +} + function remove_user_mailpile { remove_username="$1" ${PROJECT_NAME}-pass -u $remove_username --rmapp mailpile diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 81563bb1..35a12509 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -62,6 +62,14 @@ matrix_variables=(ONION_ONLY MATRIX_DOMAIN_NAME MATRIX_CODE) +function logging_on_matrix { + echo -n '' +} + +function logging_off_matrix { + echo -n '' +} + function matrix_nginx { matrix_nginx_site=/etc/nginx/sites-available/$MATRIX_DOMAIN_NAME if [[ $ONION_ONLY == "no" ]]; then diff --git a/src/freedombone-app-mediagoblin b/src/freedombone-app-mediagoblin index 78593898..74925cf9 100755 --- a/src/freedombone-app-mediagoblin +++ b/src/freedombone-app-mediagoblin @@ -49,6 +49,14 @@ mediagoblin_variables=(ONION_ONLY DEFAULT_DOMAIN_NAME DDNS_PROVIDER) +function logging_on_mediagoblin { + echo -n '' +} + +function logging_off_mediagoblin { + echo -n '' +} + function mediagoblin_fix_email { # This is a crude hack and there may be a better solution # The cause of verification problems might be that the mediagoblin user diff --git a/src/freedombone-app-movim b/src/freedombone-app-movim index 3747f1a1..bfac73c1 100755 --- a/src/freedombone-app-movim +++ b/src/freedombone-app-movim @@ -47,6 +47,14 @@ movim_variables=(ONION_ONLY DDNS_PROVIDER MY_USERNAME) +function logging_on_movim { + echo -n '' +} + +function logging_off_movim { + echo -n '' +} + function remove_user_movim { remove_username="$1" diff --git a/src/freedombone-app-mumble b/src/freedombone-app-mumble index 446dff97..a8457a1d 100755 --- a/src/freedombone-app-mumble +++ b/src/freedombone-app-mumble @@ -47,6 +47,14 @@ mumble_variables=(MY_USERNAME ONION_ONLY ADMIN_USERNAME) +function logging_on_mumble { + echo -n '' +} + +function logging_off_mumble { + echo -n '' +} + function install_interactive_mumble { echo -n '' APP_INSTALLED=1 diff --git a/src/freedombone-app-nextcloud b/src/freedombone-app-nextcloud index 54dc5fe4..6dd83822 100755 --- a/src/freedombone-app-nextcloud +++ b/src/freedombone-app-nextcloud @@ -49,6 +49,14 @@ nextcloud_variables=(ONION_ONLY DDNS_PROVIDER MY_USERNAME) +function logging_on_nextcloud { + echo -n '' +} + +function logging_off_nextcloud { + echo -n '' +} + function remove_user_nextcloud { remove_username="$1" diff --git a/src/freedombone-app-pelican b/src/freedombone-app-pelican index b2b94cf4..46bcf8e8 100755 --- a/src/freedombone-app-pelican +++ b/src/freedombone-app-pelican @@ -49,6 +49,13 @@ pelican_variables=(MY_USERNAME PELICAN_DOMAIN_NAME PELICAN_BLOG_CODE) +function logging_on_pelican { + echo -n '' +} + +function logging_off_pelican { + echo -n '' +} function install_pelican_website { if [[ $ONION_ONLY != 'no' ]]; then diff --git a/src/freedombone-app-pihole b/src/freedombone-app-pihole index fdc5f769..59923bf2 100755 --- a/src/freedombone-app-pihole +++ b/src/freedombone-app-pihole @@ -54,6 +54,14 @@ pihole_variables=(ONION_ONLY PIHOLE_DNS1 PIHOLE_DNS2) +function logging_on_pihole { + echo -n '' +} + +function logging_off_pihole { + echo -n '' +} + function pihole_copy_files { if [ ! -d /etc/.pihole ]; then mkdir /etc/.pihole diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 2e10145c..322abe1c 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -55,6 +55,14 @@ postactiv_variables=(ONION_ONLY POSTACTIV_EXPIRE_MONTHS POSTACTIV_TITLE) +function logging_on_postactiv { + echo -n '' +} + +function logging_off_postactiv { + echo -n '' +} + function postactiv_customise_logo { domain_name=$1 diff --git a/src/freedombone-app-profanity b/src/freedombone-app-profanity index 13650ecf..38570412 100755 --- a/src/freedombone-app-profanity +++ b/src/freedombone-app-profanity @@ -48,6 +48,14 @@ xmpp_variables=(ONION_ONLY DEFAULT_DOMAIN_NAME XMPP_DOMAIN_CODE) +function logging_on_profanity { + echo -n '' +} + +function logging_off_profanity { + echo -n '' +} + function remove_user_profanity { remove_username="$1" } diff --git a/src/freedombone-app-radicale b/src/freedombone-app-radicale index 366dd781..855ac02c 100755 --- a/src/freedombone-app-radicale +++ b/src/freedombone-app-radicale @@ -50,6 +50,14 @@ radicale_variables=(ONION_ONLY RADICALE_PASSWORD DEFAULT_DOMAIN_NAME) +function logging_on_radicale { + echo -n '' +} + +function logging_off_radicale { + echo -n '' +} + function remove_user_radicale { remove_username="$1" diff --git a/src/freedombone-app-riot b/src/freedombone-app-riot index cc8c1817..acc9d3d5 100755 --- a/src/freedombone-app-riot +++ b/src/freedombone-app-riot @@ -49,6 +49,14 @@ riot_variables=(MY_USERNAME ONION_ONLY DDNS_PROVIDER) +function logging_on_riot { + echo -n '' +} + +function logging_off_riot { + echo -n '' +} + function remove_user_riot { echo -n '' } diff --git a/src/freedombone-app-rss b/src/freedombone-app-rss index 39fc11a2..d95dc152 100755 --- a/src/freedombone-app-rss +++ b/src/freedombone-app-rss @@ -53,6 +53,14 @@ rss_variables=(RSS_READER_REPO USB_MOUNT MY_USERNAME) +function logging_on_rss { + echo -n '' +} + +function logging_off_rss { + echo -n '' +} + function remove_user_rss { remove_username="$1" } diff --git a/src/freedombone-app-scuttlebot b/src/freedombone-app-scuttlebot index 0515c590..464f6cc5 100755 --- a/src/freedombone-app-scuttlebot +++ b/src/freedombone-app-scuttlebot @@ -43,6 +43,14 @@ scuttlebot_variables=(MY_USERNAME DEFAULT_DOMAIN_NAME SYSTEM_TYPE) +function logging_on_scuttlebot { + echo -n '' +} + +function logging_off_scuttlebot { + echo -n '' +} + function scuttlebot_create_invite { invite_string=$(su -c "sbot invite.create 1" - scuttlebot | sed 's/"//g') diff --git a/src/freedombone-app-searx b/src/freedombone-app-searx index 8f865197..b90a9c75 100755 --- a/src/freedombone-app-searx +++ b/src/freedombone-app-searx @@ -48,6 +48,14 @@ searx_variables=(SEARX_LOGIN_TEXT SEARX_BACKGROUND_IMAGE_URL SYSTEM_TYPE) +function logging_on_searx { + echo -n '' +} + +function logging_off_searx { + echo -n '' +} + function searx_set_default_background { if [ -f ~/freedombone/img/backgrounds/searx.jpg ]; then cp ~/freedombone/img/backgrounds/searx.jpg /etc/searx/searx/static/themes/courgette/img/bg-body-index.jpg diff --git a/src/freedombone-app-sip b/src/freedombone-app-sip index 9bebca6a..4215a853 100755 --- a/src/freedombone-app-sip +++ b/src/freedombone-app-sip @@ -50,6 +50,14 @@ sip_variables=(ONION_ONLY TURN_TLS_PORT TURN_NONCE) +function logging_on_sip { + echo -n '' +} + +function logging_off_sip { + echo -n '' +} + function remove_user_sip { remove_username="$1" ${PROJECT_NAME}-rmsipuser ${remove_username} diff --git a/src/freedombone-app-syncthing b/src/freedombone-app-syncthing index d63aee1e..7d06472f 100755 --- a/src/freedombone-app-syncthing +++ b/src/freedombone-app-syncthing @@ -51,6 +51,14 @@ syncthing_variables=(SYNCTHING_ID SYNCTHING_SHARED_DATA USB_MOUNT) +function logging_on_syncthing { + echo -n '' +} + +function logging_off_syncthing { + echo -n '' +} + function syncthing_create_ids_file { if [ ! -f ~/.syncthing-server-id ]; then return diff --git a/src/freedombone-app-tahoelafs b/src/freedombone-app-tahoelafs index ff6e2a71..676721c1 100755 --- a/src/freedombone-app-tahoelafs +++ b/src/freedombone-app-tahoelafs @@ -56,6 +56,14 @@ tahoelafs_variables=(ONION_ONLY TAHOELAFS_SHARES_HAPPY TAHOELAFS_SHARES_TOTAL) +function logging_on_tahoelafs { + echo -n '' +} + +function logging_off_tahoelafs { + echo -n '' +} + function add_user_tahoelafs { if [[ $(app_is_installed tahoelafs) == "0" ]]; then echo '0' diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index efcd4c9c..3de26113 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -60,6 +60,14 @@ tox_variables=(SYSTEM_TYPE TOX_PORT TOX_NODES) +function logging_on_tox { + echo -n '' +} + +function logging_off_tox { + echo -n '' +} + function remove_user_tox { remove_username="$1" diff --git a/src/freedombone-app-turtl b/src/freedombone-app-turtl index 1da5f65b..4d8f756b 100755 --- a/src/freedombone-app-turtl +++ b/src/freedombone-app-turtl @@ -59,6 +59,14 @@ turtl_variables=(ONION_ONLY MY_EMAIL_ADDRESS MY_USERNAME) +function logging_on_turtl { + echo -n '' +} + +function logging_off_turtl { + echo -n '' +} + function change_password_turtl { change_username="$1" new_user_password="$2" diff --git a/src/freedombone-app-vim b/src/freedombone-app-vim index 9941b62d..f4da1cd5 100755 --- a/src/freedombone-app-vim +++ b/src/freedombone-app-vim @@ -39,6 +39,14 @@ VIM_MUTT_EDITOR='vim \"+set nonumber\" \"+set insertmode\" \"+set spell\" +/^$/ vim_variables=(MY_USERNAME VIM_MUTT_EDITOR) +function logging_on_vim { + echo -n '' +} + +function logging_off_vim { + echo -n '' +} + function reconfigure_vim { echo -n '' } diff --git a/src/freedombone-app-vpn b/src/freedombone-app-vpn index 02bff253..a22a0bd6 100755 --- a/src/freedombone-app-vpn +++ b/src/freedombone-app-vpn @@ -35,6 +35,14 @@ SHOW_ON_ABOUT=0 vpn_variables=() +function logging_on_vpn { + echo -n '' +} + +function logging_off_vpn { + echo -n '' +} + function install_interactive_vpn { echo -n '' APP_INSTALLED=1 diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 212fe929..45115078 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -59,6 +59,14 @@ xmpp_variables=(ONION_ONLY DEFAULT_DOMAIN_NAME XMPP_DOMAIN_CODE) +function logging_on_xmpp { + echo -n '' +} + +function logging_off_xmpp { + echo -n '' +} + function xmpp_add_onion_address { domain_name="$1" onion_address="$2" diff --git a/src/freedombone-app-zeronet b/src/freedombone-app-zeronet index 8f3d716a..298cd5b4 100755 --- a/src/freedombone-app-zeronet +++ b/src/freedombone-app-zeronet @@ -59,6 +59,14 @@ zeronet_variables=(TRACKER_PORT ZERONET_DEFAULT_FORUM_TAGLINE ZERONET_DEFAULT_MAIL_TAGLINE) +function logging_on_zeronet { + echo -n '' +} + +function logging_off_zeronet { + echo -n '' +} + function install_interactive_zeronet { echo -n '' APP_INSTALLED=1