NEW
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# ~/.bashrc
|
||||
clear
|
||||
echo "Server {{HOSTNAME}}"
|
||||
|
||||
echo "Server {{HOSTNAME}} IP: $(ip route get 1.1.1.1 | awk '{for(i=1;i<=NF;i++) if($i=="src") print $(i+1)}')"
|
||||
|
||||
export PS1="\[\e[32m\]\h:\w\$\[\e[0m\] "
|
||||
df -h .
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
echo "Running prsync ./sbin"
|
||||
prsync -h "/app/host_vars/hosts" -avz ./sbin/ /4server/sbin/
|
||||
template templates/.profile /home/4server/.profile
|
||||
|
||||
rex doas rc-service api restart
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user