search for: start_ovirt_awake

Displaying 2 results from an estimated 2 matches for "start_ovirt_awake".

2010 Mar 16
1
[PATCH] ovirt-awake improvements
...E_CONFIG=/etc/sysconfig/node-config @@ -39,6 +39,8 @@ VAR_SUBSYS_NODECONFIG=/var/lock/subsys/node-config # load the configuration file [ -f "$NODE_CONFIG" ] && . "$NODE_CONFIG" +. /usr/libexec/ovirt-functions + send_text () { local text=${1} @@ -113,6 +115,7 @@ start_ovirt_awake () { log "Node is operating in unmanaged mode." ;; "ovirt") + log "Node is operating in ovirt mode." ovirt_startup RC=$? ;; @@ -146,7 +149,7 @@ case "$1" in echo -n...
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...-awake index bd50ffd..d5865c5 100755 --- a/scripts/ovirt-awake +++ b/scripts/ovirt-awake @@ -103,7 +103,7 @@ ovirt_startup () { # Override this method to provide support for notifying a management # system that the node has started and will be available after # system initialization -start () { +start_ovirt_awake () { local RC=0 touch $VAR_SUBSYS_NODECONFIG @@ -131,6 +131,16 @@ start () { return $RC } +stop_ovirt_awake () { + echo -n "Stopping ovirt-awake: " + success +} + +reload_ovirt_awake () { + stop_ovirt_awake + start_ovirt_awake +} + case "$1" in...