>From 7755e3f3e8e9d76d2bd352bfcfb384e61dd67661 Mon Sep 17 00:00:00 2001
From: Arthur CLEMENT <aclement at linagora.com>
Date: Wed, 10 Mar 2010 15:04:40 +0000
Subject: [PATCH] Fix prog name
Signed-off-by: Arthur CLEMENT <aclement at linagora.com>
---
scripts/ovirt-awake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-awake b/scripts/ovirt-awake
index 46c64b5..bd50ffd 100755
--- a/scripts/ovirt-awake
+++ b/scripts/ovirt-awake
@@ -32,7 +32,7 @@
. /etc/init.d/functions
. /usr/libexec/ovirt-functions
-prog=ovirt-early
+prog=ovirt-awake
NODE_CONFIG=/etc/sysconfig/node-config
VAR_SUBSYS_NODECONFIG=/var/lock/subsys/node-config
--
1.6.6.1
>From 42473d304b890b2e427899e204a4b8fe2e5478df Mon Sep 17 00:00:00 2001
From: Arthur CLEMENT <aclement at linagora.com>
Date: Wed, 10 Mar 2010 14:16:10 +0000
Subject: [PATCH] ovirt-awake runs alone now, fix some typo
Signed-off-by: Arthur CLEMENT <aclement at linagora.com>
---
scripts/ovirt-awake | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/scripts/ovirt-awake b/scripts/ovirt-awake
index edef186..46c64b5 100755
--- a/scripts/ovirt-awake
+++ b/scripts/ovirt-awake
@@ -68,12 +68,11 @@ ovirt_startup () {
if [[ -n "${mgmthost}" ]] && [[ -n
"${mgmtport}" ]]; then
# log "Notifying oVirt management server:
${mgmthost}:${mgmtport}"
- exec 3<> /dev/tcp/$mgmthost:$mgmtport
+ exec 3<>/dev/tcp/$mgmthost/$mgmtport
- connect-to-server
receive_text
if [ $REPLY == "HELLO?" ]; then
- logo "Starting wakeup conversation."
+ log "Starting wakeup conversation."
send_text "HELLO!"
receive_text
if [ $REPLY == "MODE?" ]; then
--
1.6.6.1
--
Arthur CLEMENT
Linagora Paris