> +void shutDown(int doKill, reboot_action rebootAction) { > + if (rebootAction == POWEROFF || rebootAction == REBOOT) { > + performUnmounts(doKill); > + performTerminations(doKill); > + if (!doKill) > + performReboot(rebootAction); > + } > + > printf("you may safely reboot your system\n"); > - signal(SIGINT, rebootHandler); > - while (1) sleep(60); > - } > + signal(SIGINT, rebootHandler); > + while (1) { > + sleep(1); > + if (shouldReboot) { > + performUnmounts(1); > + performTerminations(1); > + performReboot(REBOOT); > + } > + } I was the last person to touch this file so I guess I'll comment on it. In my patch, I was concerned about making sure things get "unmounted" before we kill NetworkManager. This patch preserves that order so I guess it's fine with me. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list