Старый postinstall

This commit is contained in:
commit 4337a3f94e
349 changed files with 21945 additions and 0 deletions

9
tests/__init__.py Normal file
View file

@ -0,0 +1,9 @@
import subprocess
def get_network_interfaces():
interfaces = str.split(subprocess.run(["ls", "/sys/class/net/"], capture_output=True, text=True).stdout, "\n")
return interfaces[:-1]
get_network_interfaces()