saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-10-17 20:18:20 +03:00
parent 991838e31f
commit 7afa06f3ca
5 changed files with 8 additions and 4 deletions

View File

@@ -2,10 +2,10 @@
export PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:$PATH"
DATE="$(date)"
#DATE="$(date)"
HOSTNAME="$(hostname)"
USERIP="$(echo "$SSH_CONNECTION" | cut -d " " -f 1)"
RDNS="$(dig -x "$USERIP" +short)"
#USERIP="$(echo "$SSH_CONNECTION" | cut -d " " -f 1)"
#RDNS="$(dig -x "$USERIP" +short)"
if [[ "$USER" == "laser" ]]
then