From f203e8df162206cd758234b433ead5a83a0b40ca Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 19 Jun 2024 13:11:25 -0400 Subject: [PATCH] Update config changed to any second parameter is no restart --- config | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config b/config index d83942f7..206eb317 100755 --- a/config +++ b/config @@ -6,10 +6,11 @@ echo $1 echo $2 echo -if [ "$2" = "n" ]; then - norestart=1 -else +# if [ "$2" = "n" ]; then +if [ -z "$2"]; then norestart=0 +else + norestart=1 fi reboot=0