Add 1 and update 13 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 38s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 38s
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user