summarylogtreecommitdiffstats
path: root/responder.sh
blob: 2b4b0daac2da81e0b0607e593db6a498948bdcc5 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# If not run with "-h", "--help", or "--version", request root privileges
if [[ $EUID != 0 && !("$@" =~ (-h|--version)) ]]; then
	sudo "$0" "$@"
	exit $?
fi

cd /usr/share/responder
exec python2 Responder.py "$@"