summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-02-27 08:15:38 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-02-27 08:15:38 +0100
commitb9401d88ec4d424974a0e76a5a098a394af2ed88 (patch)
tree2e11d2fe0d8002963299107f45de6b56ccf7bf93
parentd7cc7b6c926150ca87f586cdd42a9423d6523733 (diff)
downloadamtterm-b9401d88ec4d424974a0e76a5a098a394af2ed88.tar.gz
add gitignore
-rw-r--r--.gitignore5
-rwxr-xr-xamttool-wsman33
2 files changed, 5 insertions, 33 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..15fb43f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+Make.config
+amtterm
+gamt
+*.o
+*.dep
diff --git a/amttool-wsman b/amttool-wsman
deleted file mode 100755
index 1474a34..0000000
--- a/amttool-wsman
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-# args
-action="$1"; shift;
-host="$1"; shift;
-
-# config
-redir_scheme="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RedirectionService"
-wsman_opts="-h ${host} -P 16992 -u admin -p ${AMT_PASSWORD}"
-#wsman_opts="${wsman_opts} -d 9" # debugging
-wsman_opts="${wsman_opts} --noverifyhost"
-
-##############################################################################
-# go!
-
-case "$action" in
-redir-listen)
- wsman put ${redir_scheme} ${wsman_opts} -k ListenerEnabled=true
- ;;
-rfb-password)
- wsman put ${redir_scheme} ${wsman_opts} -k RFBPassword="${AMT_PASSWORD}"
- ;;
--h | --help | help)
- echo "usage: $0 action host"
- echo "actions:"
- echo " redir-listen enable redirection service listener"
- echo " rfb-password set rfb password to \$AMT_PASSWORD"
- ;;
-*)
- echo "unknown action: $action (try help)"
- exit 1
- ;;
-esac