Remove useless temp folder creation
This commit is contained in:
@@ -185,9 +185,6 @@ fi
|
||||
if [ -f /root/.ssh/known_hosts ]; then
|
||||
rm /root/.ssh/known_hosts
|
||||
fi
|
||||
if [ ! -f ".SSH/.temp" ]; then
|
||||
mkdir /.SSH/.temp
|
||||
fi
|
||||
if [ "$PC" = "pve01" ]
|
||||
then
|
||||
verifycdn
|
||||
@@ -202,8 +199,5 @@ guardband
|
||||
admincheck
|
||||
guardband
|
||||
fi
|
||||
sleep 3
|
||||
echo -e "${CY}Cleaning up temp directory for checksums...${NF}"
|
||||
rm -rf /.SSH/.temp
|
||||
sleep 2
|
||||
echo -e "${CG}Script execution completed.${NF}"
|
||||
|
||||
Reference in New Issue
Block a user