]> TLD Linux GIT Repositories - tld-ftp-admin.git/commitdiff
- cleanup
authorMarcin Krol <mk@furud.net>
Sun, 3 Apr 2022 12:54:53 +0000 (14:54 +0200)
committerMarcin Krol <mk@furud.net>
Sun, 3 Apr 2022 12:54:53 +0000 (14:54 +0200)
shell/bash_profile

index 9c129522fac756a3174cd3ded8acf577e3f092ea..45d0bacdafc12471ef132e173a93e37337c6c78d 100644 (file)
@@ -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
        ;;