summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ovh/HOWTO10
-rw-r--r--ovh/README20
2 files changed, 20 insertions, 10 deletions
diff --git a/ovh/HOWTO b/ovh/HOWTO
deleted file mode 100644
index f76cf9c5..00000000
--- a/ovh/HOWTO
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-# Author: tv
-
-cd ovh/soapi
-export KREBS_OVH_USER=...
-export KREBS_OVH_PASS=...
-make install
-zoneExport > /tmp/foo
-$EDITOR /tmp/foo
-zoneImport < /tmp/foo
diff --git a/ovh/README b/ovh/README
new file mode 100644
index 00000000..806f4b0e
--- /dev/null
+++ b/ovh/README
@@ -0,0 +1,20 @@
+#? /bin/sh
+set -euf
+
+# install ovh soapi
+
+cd /path/to/krebscode/painload
+
+make -C ovh/soapi install
+
+# edit the zone
+
+export PATH="$PWD/bin${PATH+:$PATH}"
+export KREBS_OVH_USER=...
+export KREBS_OVH_PASS=...
+
+zoneExport > /tmp/foo
+$EDITOR /tmp/foo
+zoneImport < /tmp/foo
+
+# Have a nice day!^_^