source:
bootcd/isolinux/syslinux-6.03/com32/modules/reboot.c
@
dd1be7c
Last change on this file since dd1be7c was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 258 bytes |
Rev | Line | |
---|---|---|
[e16e8f2] | 1 | #include <syslinux/reboot.h> |
2 | #include <string.h> | |
3 | ||
4 | int 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.