source: bootcd/isolinux/syslinux-6.03/com32/modules/reboot.c @ e16e8f2

Last change on this file since e16e8f2 was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 258 bytes
RevLine 
[e16e8f2]1#include <syslinux/reboot.h>
2#include <string.h>
3
4int main(int argc, char *argv[])
5{
6    int warm = 0;
7    int i;
8
9    for (i = 1; i < argc; i++) {
10        if (!strcmp(argv[i], "-w") || !strcmp(argv[i], "--warm"))
11            warm = 1;
12    }
13
14    syslinux_reboot(warm);
15}
Note: See TracBrowser for help on using the repository browser.