From a8b19e37ece4a0c5bc352897a034a430ae0ed1c3 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 <t3chn0m4g3@gmail.com> Date: Wed, 30 Mar 2022 09:48:51 +0000 Subject: [PATCH] fixing, tweaking fix missing glances, dhcp lease timeout and windows title --- iso/installer/install.sh | 4 ++-- iso/installer/rc.local.install | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index 390a6a41..b0c6f93d 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -458,7 +458,7 @@ export TERM=linux if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ]; then sleep 5 - dialog --keep-window --no-ok --no-cancel --backtitle "$myBACKTITLE" --title "[ Wait to avoid interference with service messages ]" --pause "" 6 80 7 + dialog --keep-window --no-ok --no-cancel --backtitle "$myBACKTITLE" --title "[ Wait to avoid interference with service messages ]" --pause "" 7 80 7 fi # Check if remote sites are available @@ -691,7 +691,7 @@ echo "UseRoaming no" | tee -a /etc/ssh/ssh_config # Installing elasticdump, yq fuBANNER "Installing pkgs" npm install elasticdump -g -pip3 install yq +pip3 install glances yq hash -r # Cloning T-Pot from GitHub diff --git a/iso/installer/rc.local.install b/iso/installer/rc.local.install index 5f0962f1..a7a62b50 100755 --- a/iso/installer/rc.local.install +++ b/iso/installer/rc.local.install @@ -1,3 +1,4 @@ #!/bin/bash -#plymouth --quit +# Ensure client will receive a DHCP lease +dhclient openvt -f -w -s /root/installer/wrapper.sh