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 4.00~pre61+dfsg.
[syslinux-debian/hramrach.git]
/
com32
/
modules
/
reboot.c
blob
a6d564747f39bca6f89880cfbcdbf9505890c3c7
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
}