Improve deployments and installation procedures
[anna.git] / example / postinstall.sh
diff --git a/example/postinstall.sh b/example/postinstall.sh
new file mode 100755 (executable)
index 0000000..48470ff
--- /dev/null
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+cd `dirname $0`
+
+cat << EOF
+
+===========================                                                                                                                                                                               [483/19225]
+Post-installation procedure
+===========================
+
+This will preconfigure examples when proceed.
+
+You can also execute this procedure later by mean:
+
+   1) scons install: no sudo required again once installed and perhaps
+                     you prefer deployments with another unix user.
+
+   2) Executing './example/postinstall.sh'
+
+
+Press ENTER to continue, CTRL+C to abort ...
+EOF
+
+read
+
+# diameter module
+./diameter/launcher/DEPLOY.sh
+
+# ...
+# ...
+
+# perhaps the user wants to redeploy ...
+#touch `basename $0 .sh`.out
+
+exit 0
+