mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-27 02:32:06 -04:00
remove obsolete armhf checks
This commit is contained in:
@@ -4,13 +4,10 @@ echo "**** Cloudflared setup script init... ****"
|
||||
|
||||
echo "**** Checking cloudflared setup script requirements... ****"
|
||||
ARCH="$(command arch)"
|
||||
if [ "${ARCH}" = "x86_64" ]; then
|
||||
if [ "${ARCH}" = "x86_64" ]; then
|
||||
ARCH="amd64"
|
||||
elif [ "${ARCH}" = "aarch64" ]; then
|
||||
ARCH="arm64"
|
||||
elif [ "${ARCH}" = "armv7l" ]; then
|
||||
echo "**** The universal cloudflared mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
||||
exit 0
|
||||
elif [ "${ARCH}" = "aarch64" ]; then
|
||||
ARCH="arm64"
|
||||
else
|
||||
echo "**** Unsupported Linux architecture ${ARCH} found, exiting... ****"
|
||||
exit 1
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [[ $(uname -m) = "armv7l" ]]; then
|
||||
echo "**** The universal cloudflared mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
if [[ -n "${CF_REMOTE_MANAGE_TOKEN}" ]]; then
|
||||
exec s6-setuidgid abc cloudflared tunnel --no-autoupdate run --token ${CF_REMOTE_MANAGE_TOKEN}
|
||||
elif [[ ${#CF_ZONE_ID} -gt 0 ]] && [[ ${#CF_ACCOUNT_ID} -gt 0 ]] && [[ ${#CF_API_TOKEN} -gt 0 ]] && [[ ${#CF_TUNNEL_NAME} -gt 0 ]] && [[ ${#CF_TUNNEL_CONFIG} -gt 0 ]] && [[ ${#CF_TUNNEL_PASSWORD} -gt 31 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user