#!/bin/bash # Example: block push or connections to some hosts if [[ "$*" != *"alps"* ]]; then exit 1 fi exit 0