Код: Выделить всё
#!/bin/bash
# Install script for AgentDVR/ Linux
# To execute: save and `chmod +x ./install.sh` then `./install.sh`
if [[ ("$OSTYPE" == "darwin"*) ]]; then
# If darwin (macOS)
bash <(curl -H 'Cache-Control: no-cache, no-store' -s "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/osx_setup2.sh")
exit
fi
bash <(curl -H 'Cache-Control: no-cache, no-store' -s "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/linux_setup2.sh")