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
This commit is contained in:
Pau Espin 2018-10-26 14:24:30 +02:00
parent e972828a01
commit 0aaf8e1c1b
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
/sbin/setcap cap_net_admin+ep "$1"

View File

@ -0,0 +1,3 @@
#!/bin/sh
/sbin/setcap cap_net_raw+ep "$1"