Adding upstream version 3.53.
[syslinux-debian/hramrach.git] / com32 / modules / reboot.c
blobf5056759359cb8b8b0e5d56e7efde462c98671de
1 #include <syslinux/reboot.h>
2 #include <string.h>
4 int main(int argc, char *argv[])
6 int warm = 0;
7 int i;
9 for (i = 1; i < argc; i++) {
10 if (!strcmp(argv[i], "-w") ||
11 !strcmp(argv[i], "--warm"))
12 warm = 1;
15 syslinux_reboot(warm);