Skip to content

Instantly share code, notes, and snippets.

View gregology's full-sized avatar

Gregory Clarke gregology

View GitHub Profile
#!/bin/bash
#
# https://github.com/Nyr/openvpn-install
#
# Copyright (c) 2013 Nyr. Released under the MIT License.
# Detect Debian users running the script with "sh" instead of bash
if readlink /proc/$$/exe | grep -q "dash"; then
echo "This script needs to be run with bash, not sh"