Displaying 1 result from an estimated 1 matches for "reload_ovirt_awake".
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...ode 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
start)
echo -n "Starting ovirt-awake: "
@@ -143,6 +153,14 @@ case "$1" in
test $RETVAL == 0 && success || failure
;;
+ stop)
+ stop_ovirt_awake
+...