summarylogtreecommitdiffstats
path: root/responder.sh
blob: f59ee74f0484c69c43969a7fe556aad4057bd0dc (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 python Responder.py "$@"