summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-27 13:50:00 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-27 13:50:02 +0200
commit28a6cb6b87734a502218d6e7127124dea9353348 (patch)
tree98bb8cccab5c25dd325d96406b618451c02f4675 /scripts
parenta83375fe1179f694c66314e1640e0a0ea64e3a9e (diff)
downloadvyos-1x-28a6cb6b87734a502218d6e7127124dea9353348.tar.gz
vyos-1x-28a6cb6b87734a502218d6e7127124dea9353348.zip
wireless: always use sudo when calling modprobe
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cli/test_interfaces_wireless.py2
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()