From 60ee41fa5108a2cbd2be61553e3568eb278373e0 Mon Sep 17 00:00:00 2001 From: cronyx Date: Thu, 4 Aug 2022 12:45:10 +0300 Subject: [PATCH] typo --- general/overlay/usr/sbin/sysupgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/general/overlay/usr/sbin/sysupgrade b/general/overlay/usr/sbin/sysupgrade index d45d6982..fbce3acf 100755 --- a/general/overlay/usr/sbin/sysupgrade +++ b/general/overlay/usr/sbin/sysupgrade @@ -3,7 +3,7 @@ # OpenIPC.org | v.20220803 # -scr_version=1.0.2 +scr_version=1.0.3 args=" $@" @@ -119,10 +119,10 @@ self_update() { if [ -f /tmp/sysupgrade ] && grep -q "#!/bin/sh" /tmp/sysupgrade; then dstv=`grep scr_version /tmp/sysupgrade | head -1 | cut -f 2 -d '='` if ! [ "${scr_version}" = "${dstv}" ]; then - echo "A new version is available, trying to run updated script..." + echo "A new version is available, trying to activate updated script..." chmod +x /tmp/sysupgrade - exec /tmp/sysupgrade ${args} echo -e "Done. Restarting...\n" + exec /tmp/sysupgrade ${args} exit 1 else echo "Ok, version match."