Lines Matching +full:reset +full:- +full:delay
10 #include <systemd/sd-bus.h>
12 #include <phosphor-logging/elog-errors.hpp>
13 #include <phosphor-logging/lg2.hpp>
55 while ((arg = getopt_long(argc, argv, "h:", longOpts, &optIndex)) != -1) in main()
82 // If the BMC was rebooted due to a user initiated pinhole reset, do not in main()
96 "BMC was reset due to pinhole reset, no power restore policy will be run"); in main()
102 "BMC was reset due to cold reset, no power restore policy will be run"); in main()
106 /* The logic here is to first check the one-time PowerRestorePolicy setting. in main()
108 * user setting in the non one-time object, otherwise honor the one-time in main()
142 // one_time setting was set so we're going to use it. Reset it in main()
144 info("One time set, use it and reset to default"); in main()
176 "power_policy=ALWAYS_POWER_ON, powering host on ({DELAY}s delay)", in main()
177 "DELAY", powerRestoreDelaySec.count()); in main()
206 "power_policy=ALWAYS_POWER_OFF, set requested state to off ({DELAY}s delay)", in main()
207 "DELAY", powerRestoreDelaySec.count()); in main()
213 // Read last requested state and re-request it to execute it in main()
228 info("power_policy=RESTORE, restoring last state ({DELAY}s delay)", in main()
229 "DELAY", powerRestoreDelaySec.count()); in main()
235 // Read last requested state and re-request it to execute it in main()