From 5a58b01aab2f3d907db671f95307c05e410d21a3 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Wed, 14 Oct 2009 09:23:51 +0000 Subject: [PATCH] correcting file path --- tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.py b/tools.py index bd911e8..60838c7 100644 --- a/tools.py +++ b/tools.py @@ -21,7 +21,7 @@ def get_default_if(): return interface def get_hwaddr_from_plnode(): - for line in open("/usr/share/boot/plnode.txt", 'r').readlines(): + for line in open("/usr/boot/plnode.txt", 'r').readlines(): if line.startswith("NET_DEVICE"): return line.split("=")[1].strip().strip('"') return None -- 2.43.0