From a3c66588bef814edb710032ec76751f8663ea813 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Tue, 13 Dec 2016 09:39:29 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index c6d8d40..e78df12 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -92,17 +92,6 @@ echo "in SSH allow file..." sudo cat /etc/ssh/login.group.allowed | grep $myhost sudo cat /etc/ssh/login.group.allowed | grep $Group echo " if this is wrong DO NOT REBOOT and contact sysadmin" -while true; do - read -p 'Do you want to Reboot now? (y/n)?' yn - case $yn in - [Yy]* ) sudo reboot - break;; - [Nn]* ) echo "plese remember to reboot" - sleep 1 - exit ;; - * ) echo 'Please answer yes or no.';; - esac -done exec sudo -u root /bin/sh - <