aboutsummaryrefslogtreecommitdiffstats
path: root/utils/osmo-gsm-tester_setcap_net_raw.sh
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-26 14:24:30 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-31 08:57:27 +0000
commit0aaf8e1c1ba92ce9d8167fc8be78122c908d8138 (patch)
treefcaf7b8cba8008c5b1bbf9d14a0cbc1b06ff217a /utils/osmo-gsm-tester_setcap_net_raw.sh
parente972828a019a5decc3c39050123e11f71737551e (diff)
utils: Add osmo-gsm-tester_setcap_net_*.sh scripts
This scripts were already being used by osmo-gsm-tester for a while, but were not avaialable in this repository. Let's put them here to easy find them and have all this kind of helper scripts together with code using it. Change-Id: Ib88a1b7818155fc608cc6ff763300fbd0e03a07a
Diffstat (limited to 'utils/osmo-gsm-tester_setcap_net_raw.sh')
-rwxr-xr-xutils/osmo-gsm-tester_setcap_net_raw.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/osmo-gsm-tester_setcap_net_raw.sh b/utils/osmo-gsm-tester_setcap_net_raw.sh
new file mode 100755
index 0000000..1f3a727
--- /dev/null
+++ b/utils/osmo-gsm-tester_setcap_net_raw.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/sbin/setcap cap_net_raw+ep "$1"