summaryrefslogtreecommitdiffstats
path: root/doc/ypmaplist.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ypmaplist.py')
-rwxr-xr-xdoc/ypmaplist.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ypmaplist.py b/doc/ypmaplist.py
new file mode 100755
index 0000000..1e22999
--- /dev/null
+++ b/doc/ypmaplist.py
@@ -0,0 +1,4 @@
+#!/usr/bin/python
+import nis
+for map in nis.maps():
+ print map