summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-10-02 17:32:21 +0200
committerSimon Rettberg2023-10-02 17:32:21 +0200
commit1b2be93025d51ef675c8d8f335661503021bcbb5 (patch)
tree70ab3bc4f3f134d7dec481a1f51e0d913e36218b
parent[SSPS] timesync: Dynamic limits based on mode (boot/non-boot) (diff)
downloadsetup-scripts-1b2be93025d51ef675c8d8f335661503021bcbb5.tar.gz
setup-scripts-1b2be93025d51ef675c8d8f335661503021bcbb5.tar.xz
setup-scripts-1b2be93025d51ef675c8d8f335661503021bcbb5.zip
[SSPS] timesync: Fix infinite loop
-rwxr-xr-xsatellit_installer/static_files/timesync/usr/local/sbin/redneck-timesync.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_installer/static_files/timesync/usr/local/sbin/redneck-timesync.sh b/satellit_installer/static_files/timesync/usr/local/sbin/redneck-timesync.sh
index 33cab2a..9aacd07 100755
--- a/satellit_installer/static_files/timesync/usr/local/sbin/redneck-timesync.sh
+++ b/satellit_installer/static_files/timesync/usr/local/sbin/redneck-timesync.sh
@@ -15,7 +15,9 @@ while [ "$#" -gt 0 ]; do
;;
-b)
BOOTUP=true
+ ;;
esac
+ shift
done
if $BOOTUP; then