Update power.inc.sh
This commit is contained in:
@@ -563,7 +563,7 @@ Shutting down main servers" 1
|
|||||||
}
|
}
|
||||||
|
|
||||||
POWERLOGGER_SERVICE(){
|
POWERLOGGER_SERVICE(){
|
||||||
SENDPOWER "POWER LOGGING Service Startup" &
|
SENDNOTICE "POWER LOGGING Service Startup" "`${PW_SCRIPT} check power -p`" &
|
||||||
while true; do
|
while true; do
|
||||||
LogDataTime=`date +'%Y-%m-%d %H:%M:%S'`
|
LogDataTime=`date +'%Y-%m-%d %H:%M:%S'`
|
||||||
source ${PW_FOLDER}/defaults.inc
|
source ${PW_FOLDER}/defaults.inc
|
||||||
@@ -859,9 +859,7 @@ PDUCONTROL(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
SENDPOWER(){
|
SENDPOWER(){
|
||||||
SENDNOTICE "test" "testing 213123" &
|
SENDNOTICE "${1}" "`${PW_SCRIPT} check power -p`" &
|
||||||
st_power=`${PW_SCRIPT} check power -p`
|
|
||||||
SENDNOTICE "${1}" "${st_power}" &
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user