summaryrefslogtreecommitdiff
path: root/src/nat/install-nat-helper.sh
blob: 502aa71f1a9000b608860c85ff57f1b8f7956684 (plain)
1
2
3
4
5
#!/bin/bash
# $1 - bindir
# $2 - sudo binary (optional)
$2 chown root:root $1/gnunet-helper-nat-server $1/gnunet-helper-nat-client || true
$2 chmod u+s $1/gnunet-helper-nat-server $1/gnunet-helper-nat-client || true