mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
tweaking
This commit is contained in:
parent
c1f48c6197
commit
abb84e2a9b
2 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,7 @@ myWHITE="[0;0m"
|
|||
myMAGENTA="[1;35m"
|
||||
|
||||
function fuGETSTATUS {
|
||||
grc docker ps -f status=running -f status=exited --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" | grep -v "NAME" | sort
|
||||
grc --colour=on docker ps -f status=running -f status=exited --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" | grep -v "NAME" | sort
|
||||
}
|
||||
|
||||
function fuGETSYS {
|
||||
|
|
|
@ -784,6 +784,10 @@ apt-get autoremove -y 2>&1 | dialog --title "[ Cleaning up ]" $myPROGRESSBOXCONF
|
|||
# Final steps
|
||||
cp /opt/tpot/host/etc/rc.local /etc/rc.local 2>&1>/dev/null && \
|
||||
rm -rf /root/installer 2>&1>/dev/null && \
|
||||
rm -rf /etc/issue.d/cockpit.issue 2>&1>/dev/null && \
|
||||
rm -rf /etc/motd.d/cockpit 2>&1>/dev/null && \
|
||||
rm -rf /etc/issue.net 2>&1>/dev/null && \
|
||||
rm -rf /etc/motd 2>&1>/dev/null && \
|
||||
if [ "$myTPOT_DEPLOYMENT_TYPE" == "auto" ];
|
||||
then
|
||||
echo "Done. Please reboot."
|
||||
|
|
Loading…
Reference in a new issue