Update freshStart.sh
This commit is contained in:
@ -99,12 +99,12 @@ echo "Installing hwmon daemon..."
|
|||||||
|
|
||||||
# Download hwmon service files with error handling
|
# Download hwmon service files with error handling
|
||||||
echo "Downloading hwmon service files..."
|
echo "Downloading hwmon service files..."
|
||||||
if ! curl --max-time 30 --retry 3 -o /etc/systemd/system/hwmon.service http://10.10.10.110:3000/JWS/hwmonDaemon/raw/branch/main/hwmon.service; then
|
if ! curl --max-time 30 --retry 3 -o /etc/systemd/system/hwmon.service http://10.10.10.56:3000/LotusGuild/hwmonDaemon/raw/branch/main/hwmon.service; then
|
||||||
echo "ERROR: Failed to download hwmon.service"
|
echo "ERROR: Failed to download hwmon.service"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! curl --max-time 30 --retry 3 -o /etc/systemd/system/hwmon.timer http://10.10.10.110:3000/JWS/hwmonDaemon/raw/branch/main/hwmon.timer; then
|
if ! curl --max-time 30 --retry 3 -o /etc/systemd/system/hwmon.timer http://10.10.10.56:3000/LotusGuild/hwmonDaemon/raw/branch/main/hwmon.timer; then
|
||||||
echo "ERROR: Failed to download hwmon.timer"
|
echo "ERROR: Failed to download hwmon.timer"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user