#!/usr/bin/env bash # # user configuration file for MOTDfetch # GLOBAL COLORS ###################################################### c_txt="39" c_txt_emphase="35" c_txt_deco="97" c_txt_invert="30" c_bg="47" c_danger="31" c_warning="33" c_success="32" c_title="${c_bg};1;${c_txt_invert}m" # GLOBAL OPTIONS #################################################### ## api website name for plain public IP4/6 check global_publicip_api="icanhazip.com" # MODULES OPTIONS #################################################### ## HEADER module module_header_disable=0 ### custom text (comment to use username, trim > 80 char) module_header_text="BANNER" ## SYSINFO module module_sysinfo_disable=0 ## SERVICES module module_services_disable=0 ### services to check ### + lookup system & current user services running with these 2 commands: ### systemctl --type=service --no-pager -q --state running ### systemctl --type=service --user --no-pager -q --state running ### + to add user services you need to provide the uid of the user ("service:uid"), find the uid with: ### id -u module_services=( "cron" "unattended-upgrades.service" "dbus:1000" ) ### column max-width module_services_width="80" ## FILESYSTEM module module_filesystem_disable=0 ### disable the ZFS section of the module module_filesystem_zfs_disable=0 ### max blocks usage percentage warning threshold module_filesystem_max_usage="85" ## TLS module module_tls_disable=0 ### Domains and ports (default:433) for TLS certification check module_tls_domains=( "www.google.com" "w.fakedomain.com" ) ## POSTQUEUE module module_postqueue_disable=0 ## FAIL2BAN module module_fail2ban_disable=0 ## USERLOG module module_userslog_disable=0