X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=shell%2Fbash_profile;h=45d0bacdafc12471ef132e173a93e37337c6c78d;hb=28e1e9ce566604fe667a8c736402326d5a11fcc2;hp=8221875dbf936268d3651b61c7c74c55be17c971;hpb=72b522a24f2dcde856f1d66b34476aebe13ec4fc;p=tld-ftp-admin.git diff --git a/shell/bash_profile b/shell/bash_profile index 8221875..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 ;; @@ -43,4 +29,4 @@ if [ "$FTPADM" ]; then fi export EDITOR=vim -PATH=$PATH:~/pld-ftp-admin/bin +PATH=$PATH:~/tld-ftp-admin/bin