Add dottr.pl login file and update the description a wee bit
authorPeter Gervai <grin@grin.hu>
Fri, 03 Oct 2014 15:05:36 +0200
changeset 2 b78794f00e34
parent 1 26fed0d59d7c
child 3 d4bb4405d439
Add dottr.pl login file and update the description a wee bit
DatabaseLoginData.pm
dottr.pl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DatabaseLoginData.pm	Fri Oct 03 15:05:36 2014 +0200
@@ -0,0 +1,8 @@
+# databadse login data
+package DatabaseLoginData;
+
+our $db_user = "racktables_user";
+our $db_pw = "guljicbibatvo";
+our $db_host = "rtdb.example.com";
+
+1;
--- a/dottr.pl	Fri Oct 03 15:01:17 2014 +0200
+++ b/dottr.pl	Fri Oct 03 15:05:36 2014 +0200
@@ -1,11 +1,16 @@
 #!/usr/bin/perl
 ##$Id: dottr.pl,v ac49839c1b85 2014/10/03 12:46:32 grin $
 #
-# (c) Peter 'grin' Gervai, 2012
-# Released under CreativeCommons-Attribution-ShareAlike-3.0-Unported
+# (c) Peter 'grin' Gervai, 2012-2014
+# Released under CreativeCommons-Attribution-ShareAlike-4.0
 #
 # create .dot from racktables links
 #
+#  ./dottr.pl > map.dot
+#
+# create graphic from dot: 
+#  dot -Tpng -o map.png map.dot
+#  dot -Tsvg -o map.svg map.dot
 
 use DBI;
 use Encode;