hope I got the merge wright...
[monitor.git] / commands / shconfig.py
diff --git a/commands/shconfig.py b/commands/shconfig.py
new file mode 100755 (executable)
index 0000000..ba2f5e5
--- /dev/null
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+from monitor import config
+
+for attr in dir(config):
+       val = config.__getattribute__(attr)
+       if attr[0].isupper() and attr[1].isupper():
+               print '%s="%s" ' % (attr, val)