summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-24 18:05:14 +0200
committertv <tv@xso>2011-08-24 18:05:14 +0200
commit848d3605a217fa8882310f463a611aad4e8b86e9 (patch)
treed2e9580c1e97ad880764b76071b6c918fbf400d4
parent12641e165947d2f2478fce11e2399249f68b461f (diff)
ovh soapi: rewrite HOWTO to README
-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!^_^