mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking
This commit is contained in:
@ -9,7 +9,7 @@ myWHITE="[0;0m"
|
|||||||
myMAGENTA="[1;35m"
|
myMAGENTA="[1;35m"
|
||||||
|
|
||||||
function fuGETSTATUS {
|
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 {
|
function fuGETSYS {
|
||||||
|
@ -784,6 +784,10 @@ apt-get autoremove -y 2>&1 | dialog --title "[ Cleaning up ]" $myPROGRESSBOXCONF
|
|||||||
# Final steps
|
# Final steps
|
||||||
cp /opt/tpot/host/etc/rc.local /etc/rc.local 2>&1>/dev/null && \
|
cp /opt/tpot/host/etc/rc.local /etc/rc.local 2>&1>/dev/null && \
|
||||||
rm -rf /root/installer 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" ];
|
if [ "$myTPOT_DEPLOYMENT_TYPE" == "auto" ];
|
||||||
then
|
then
|
||||||
echo "Done. Please reboot."
|
echo "Done. Please reboot."
|
||||||
|
Reference in New Issue
Block a user