diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-10 22:43:38 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-10 22:44:37 (GMT) |
commit | 98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd (patch) | |
tree | 8b063a4226471c2206c21a23ab060f643b16eed0 /abs/core/xymon/hobbitadd.py | |
parent | 86a66e21bf7b444dbab401e699da74df38fb9dcf (diff) | |
download | linhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.zip linhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.tar.gz linhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.tar.bz2 |
xymon/runit scripts: moved from /data/srv/xymon to /home/xymon.
This was done to preserve rrd's on upgrade
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' ) |