Skip to content
Snippets Groups Projects
Commit 7328ec0f authored by Guillaume Valadon's avatar Guillaume Valadon
Browse files

Look for 'freebsd' in sys.platform

--HG--
branch : Debian patch for GNU/kFreeBSD
parent 48cd0564
No related branches found
No related tags found
No related merge requests found
......@@ -45,8 +45,8 @@ def get_if_hwaddr(iff):
LINUX=sys.platform.startswith("linux")
OPENBSD=sys.platform.startswith("openbsd")
FREEBSD=sys.platform.startswith("freebsd")
NETBSD = sys.platform.startswith("netbsd")
FREEBSD= "freebsd" in sys.platform
NETBSD=sys.platform.startswith("netbsd")
DARWIN=sys.platform.startswith("darwin")
SOLARIS=sys.platform.startswith("sunos")
WINDOWS=sys.platform.startswith("win32")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment