From: Marcin Krol Date: Sun, 3 Apr 2022 12:54:53 +0000 (+0200) Subject: - cleanup X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=28e1e9ce566604fe667a8c736402326d5a11fcc2;p=tld-ftp-admin.git - cleanup --- 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 ;;