aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/osmo-gsm-tester_setcap_net_admin.sh2
-rwxr-xr-xutils/osmo-gsm-tester_setcap_net_raw.sh3
2 files changed, 5 insertions, 0 deletions
diff --git a/utils/osmo-gsm-tester_setcap_net_admin.sh b/utils/osmo-gsm-tester_setcap_net_admin.sh
new file mode 100755
index 0000000..60e527a
--- /dev/null
+++ b/utils/osmo-gsm-tester_setcap_net_admin.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+/sbin/setcap cap_net_admin+ep "$1"
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"