source:
bootcd/isolinux/syslinux-6.03/com32/modules/reboot.c
@
26ffad7
Last change on this file since 26ffad7 was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 258 bytes |
Line | |
---|---|
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.