summaryrefslogtreecommitdiffstats
path: root/scripts/i18n_messages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/i18n_messages.sh')
-rwxr-xr-xscripts/i18n_messages.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/i18n_messages.sh b/scripts/i18n_messages.sh
new file mode 100755
index 0000000..5735b81
--- /dev/null
+++ b/scripts/i18n_messages.sh
@@ -0,0 +1,21 @@
+#!/bin/sh +x
+
+. ./include.sh
+
+json="{
+ \"method\": \"i18n_messages\",
+ \"params\": [
+ [ ],
+ { }
+ ],
+ \"id\": 0
+}"\
+
+curl\
+ -H "Content-Type:application/json"\
+ -H "Accept:applicaton/json"\
+ --negotiate -u :\
+ --cacert /etc/ipa/ca.crt\
+ -d "$json"\
+ -X POST\
+ $IPA_JSON_URL