From 3730e7ac546f08296e91ffd63ac7cd46e0e7a9d1 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Mon, 23 Jun 2025 18:17:21 -0500 Subject: [PATCH] small typo. *sheepish grin* --- newSrv.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/newSrv.sh b/newSrv.sh index 8bf21f5..d2f1bc1 100644 --- a/newSrv.sh +++ b/newSrv.sh @@ -177,7 +177,7 @@ postfix #https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu-18-04 export KALI_CHECK -KALI_CHECK="$(distro -c kali)" +KALI_CHECK="$(distro |grep -c kali)" if [ "$KALI_CHECK" -eq 0 ]; then export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install \ @@ -267,7 +267,9 @@ systemctl stop rsyslog && systemctl start rsyslog && logger "hi hi from $(hostna systemctl restart ntp -systemctl restart postfix +systemctl enable +systemctl stop postfix +systemctl start postfix /usr/sbin/accton on