From 28e1e9ce566604fe667a8c736402326d5a11fcc2 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 3 Apr 2022 14:54:53 +0200 Subject: [PATCH] - cleanup --- shell/bash_profile | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/shell/bash_profile b/shell/bash_profile index 9c12952..45d0bac 100644 --- a/shell/bash_profile +++ b/shell/bash_profile @@ -1,14 +1,11 @@ # .bash_profile - file executed when logging in # identify via remote addr -case "${SSH_CLIENT%% *}" in -195.222.9.201) # glen ;) - export FTPADM=glen - ;; -193.0.96.*|2001:6a0:5001:*) # baggins - export FTPADM=baggins - ;; -esac +#case "${SSH_CLIENT%% *}" in +#192.168.1.1) # ftpadmin +# export FTPADM=ftpadmin +# ;; +#esac # identify via terminal last login (su, sudo) if [ -z "$FTPADM" ]; then @@ -20,17 +17,6 @@ fi # per-admin defaults case "$FTPADM" in -glen) - export TZ=EET - case $(id -un) in - pldth) - echo -ne "\033kth@ftp\033\\" - ;; - fpldac|pldac) - echo -ne "\033kac@ftp\033\\" - ;; - esac - ;; '') export FTPADM=$USER ;; -- 2.44.0