diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-27 13:50:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-27 13:50:02 +0200 |
commit | 28a6cb6b87734a502218d6e7127124dea9353348 (patch) | |
tree | 98bb8cccab5c25dd325d96406b618451c02f4675 /scripts | |
parent | a83375fe1179f694c66314e1640e0a0ea64e3a9e (diff) | |
download | vyos-1x-28a6cb6b87734a502218d6e7127124dea9353348.tar.gz vyos-1x-28a6cb6b87734a502218d6e7127124dea9353348.zip |
wireless: always use sudo when calling modprobe
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cli/test_interfaces_wireless.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cli/test_interfaces_wireless.py b/scripts/cli/test_interfaces_wireless.py index 6edff78b3..5d04a1c44 100755 --- a/scripts/cli/test_interfaces_wireless.py +++ b/scripts/cli/test_interfaces_wireless.py @@ -50,5 +50,5 @@ class WirelessInterfaceTest(BasicInterfaceTest.BaseTest): if __name__ == '__main__': - os.system("modprobe mac80211_hwsim") + os.system('sudo modprobe mac80211_hwsim') unittest.main() |