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