This commit is contained in:
t3chn0m4g3 2019-02-04 17:24:21 +01:00
parent c1f48c6197
commit abb84e2a9b
2 changed files with 5 additions and 1 deletions

View file

@ -9,7 +9,7 @@ myWHITE=""
myMAGENTA=""
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 {

View file

@ -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."