Add 1 and update 13 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 38s

This commit is contained in:
j
2025-12-28 10:48:00 +13:00
parent 2138528790
commit d07dd8236f
14 changed files with 21 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ if [ -z "$SYSTEM_TYPE" ]; then
echo " Hardware: Mac Mini"
fi
fi
elif [ "$ID" = "raspbian" ] || [ "$ID" = "debian" ] && [ "$(uname -m)" = "aarch64" -o "$(uname -m)" = "armv7l" ]; then
elif { [ "$ID" = "raspbian" ] || [ "$ID" = "debian" ]; } && { [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "armv7l" ]; }; then
SYSTEM_TYPE="rpi"
echo " Detected: Raspberry Pi OS"
fi

View File

@@ -181,7 +181,7 @@ fi
BASHRC
if [ "${ENABLE_WATCHDOG}" = "true" ]; then
echo '~/watchdog.sh &' >> /tmp/bashrc_append
echo '$HOME/watchdog.sh &' >> /tmp/bashrc_append
fi
host_exec sh -c "cat /tmp/bashrc_append >> /home/${KIOSK_USER}/.bashrc"