On Fri, 03.02.12 21:14, Michael Olbrich ([email protected]) wrote: > The third patch. This is work in progress. Just the variables so far. I > tried to follow other examples. Not sure if I did everything correctly. > And I could not find any place to initialize the rate limiter with the > configured values. They are available when querying via dbus but not in any > initialization function that I could find. Where would I do that? > > And can you elaborate reboot, reboot-force and reboot-immediate exactly > mean?
reboot = just enqueue a job for reboot.target. reboot-force = Just set m->exit_code to MANAGER_REBOOT. This will cause the systemd event loop to terminate immeidately as your code returns control to it, and then results in a reboot. reboot-immediate = invoke reboot(LINUX_REBOOT_CMD_RESTART) right-away. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
