From 4504bf34f0b7768d085f93c68bfae2f9005c6f6b Mon Sep 17 00:00:00 2001 From: ballaswag Date: Mon, 22 Jan 2024 01:30:51 -0800 Subject: [PATCH] fix update.sh to handle new guppy init.d --- update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.sh b/update.sh index 9477478..38ba6e7 100755 --- a/update.sh +++ b/update.sh @@ -41,6 +41,8 @@ fi echo "Updated Guppy Screen to version $latest_version" if grep -Fqs "ID=buildroot" /etc/os-release then + [ -f /etc/init.d/S99guppyscreen ] && /etc/init.d/S99guppyscreen stop &> /dev/null + killall -q guppyscreen /etc/init.d/S99guppyscreen restart &> /dev/null fi