Return-Path: Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by arago-project.org (Postfix) with ESMTPS id 8210552AFD for ; Thu, 22 Dec 2016 14:25:37 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id uBMEPaw2021853 for ; Thu, 22 Dec 2016 08:25:36 -0600 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id uBMEPat7012514 for ; Thu, 22 Dec 2016 08:25:36 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Thu, 22 Dec 2016 08:25:35 -0600 Received: from udc0866934 (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id uBMEPZ5g020891; Thu, 22 Dec 2016 08:25:35 -0600 Received: from jake by udc0866934 with local (Exim 4.82) (envelope-from ) id 1cK4JL-00044K-JV; Thu, 22 Dec 2016 09:25:35 -0500 From: Jacob Stiffler To: Date: Thu, 22 Dec 2016 09:25:27 -0500 Message-ID: <1482416729-15556-7-git-send-email-j-stiffler@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1482416729-15556-1-git-send-email-j-stiffler@ti.com> References: <1482416729-15556-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 Subject: [tisdk-setup-scripts][PATCH 6/8] add-to-group: require user to logout for group change X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 14:25:40 -0000 Content-Type: text/plain Signed-off-by: Jacob Stiffler --- add-to-group.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/add-to-group.sh b/add-to-group.sh index 6fa66e7..1bedd3e 100644 --- a/add-to-group.sh +++ b/add-to-group.sh @@ -90,8 +90,10 @@ if [ "$host_upper" -gt "$min_ver_upper" -o "$host_upper" -eq "$min_ver_upper" ]; fi echo "Until then you will be required to use sudo when accessing a serial device." + echo "Please logout now and log back in so that the group changes are in effect." echo read -p "Press return to continue" REPLY + exit 0 else echo "User '$username' is already apart of the 'dialout' group" -- 1.9.1