feat(executable_check_uptime.sh): add macOS support for uptime check
Add detection for macOS and calculate uptime in days using `sysctl`
and `date` commands. This change allows the script to function on
both Linux and macOS systems, increasing its versatility. Additionally,
add a check for unsupported operating systems to prevent errors.
The reboot-required check is now Linux-specific, ensuring compatibility
across different environments.