repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding upstream version 3.53.
[syslinux-debian/hramrach.git]
/
com32
/
modules
/
reboot.c
blob
f5056759359cb8b8b0e5d56e7efde462c98671de
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"
) ||
11
!
strcmp
(
argv
[
i
],
"--warm"
))
12
warm
=
1
;
13
}
14
15
syslinux_reboot
(
warm
);
16
}