hooks: digital-loggers: Change cycle time to 500ms
At present this waits about 5 seconds and also doesn't work if the outlet is currently off. Switch the outlet off/on manually. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -18,5 +18,8 @@
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
# DEALINGS IN THE SOFTWARE.
|
||||
|
||||
curl --data ${power_port}=CCL -o /dev/null --silent \
|
||||
curl --data ${power_port}=OFF -o /dev/null --silent \
|
||||
http://${power_user:-admin}:${power_pass:-1234}@${power_ip}/outlet
|
||||
sleep .5
|
||||
curl --data ${power_port}=ON -o /dev/null --silent \
|
||||
http://${power_user:-admin}:${power_pass:-1234}@${power_ip}/outlet
|
||||
|
||||
Reference in New Issue
Block a user