add bash_profile, need in rhel

Signed-off-by: Michael Grote <michael.grote@dataport.de>
This commit is contained in:
Michael Grote 2024-10-10 14:34:58 +02:00
parent eb08fd416a
commit f81b8e2e75
2 changed files with 9 additions and 1 deletions

8
.bash_profile Normal file
View file

@ -0,0 +1,8 @@
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs

View file

@ -1,4 +1,4 @@
#!/bin/bash
if [ "$HOSTNAME" = lbdlspa001 ]; then
rsync -av --delete -e ssh /home/.autofs/lunixpf001/home-linux/grotemi-admin/repos/ lzeorpt001.mgmt.dpaor.org:/homes/MGMT/grotemi-admin/repos
rsync -av --delete -e ssh /home/.autofs/lunixpf001/home-linux/grotemi-admin/ lzeorpt001.mgmt.dpaor.org:/homes/MGMT/grotemi-admin
fi