setup

personal system configuration scripts
git clone git://git.pyratebeard.net/setup.git
Log | Files | Refs | README

commit b7671288439953b0a1844af1abd3046bd5062c74
parent d0740e251324141d0c41624d2af128ff2a4a72f6
Author: pyratebeard <root@pyratebeard.net>
Date:   Wed, 10 Jan 2024 13:37:00 +0000

email. always set fqdn

Diffstat:
Mforge | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/forge b/forge @@ -13,6 +13,9 @@ # code ▓▒ https://git.pyratebeard.net/setup # usage ▓▒ curl -L https://s.rum.sh/forge > forge && chmod +x forge && ./forge +# ▓▓▒░ vars +EMAIL="root@pyratebeard.net" + # ▓▓▒░ functions function _echo() { printf "\n╓───── %s \n╙────────────────────────────────────── ─ ─ \n" "$1"; } @@ -25,8 +28,7 @@ function _echo() { printf "\n╓───── %s \n╙──────── _echo "enter domain" read DOMAIN -[[ $(hostname -f) == $(hostname -s).$DOMAIN ]] || \ - echo "$(hostname -s).$DOMAIN" > /etc/hostname +echo "$(hostname -s).${DOMAIN}" > /etc/hostname # ▓▓▒░ locale _echo "setting up locales"