ynh-vpnclient-checker.sh 113 B

1234567
  1. #!/bin/bash
  2. if ! ip link show tun0 &> /dev/null; then
  3. systemctl restart ynh-vpnclient &> /dev/null
  4. fi
  5. exit 0