diff options
Diffstat (limited to 'abs/core/xymon/hobbitadd.py')
-rw-r--r-- | abs/core/xymon/hobbitadd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/xymon/hobbitadd.py b/abs/core/xymon/hobbitadd.py index 91963a4..c3c47ba 100644 --- a/abs/core/xymon/hobbitadd.py +++ b/abs/core/xymon/hobbitadd.py @@ -11,7 +11,7 @@ import sys def readbb(): global bblist try: - infile = open('/data/srv/xymon/etc/hosts.cfg', 'r') + infile = open('/home/xymon/etc/hosts.cfg', 'r') except(IOError), e: print "couldn't open bb-hosts file" sys.exit(1) @@ -64,7 +64,7 @@ def makenewbb(): print "adding: " + nline numinserts = numinserts + 1 if numinserts > 0: - outfile = open("/data/srv/xymon/etc/hosts.cfg","w") + outfile = open("/home/xymon/etc/hosts.cfg","w") #outfile = open("/tmp/new-bb","w") for i in outlist: outfile.write(i + '\n' ) |