Sign in
android
/
platform
/
external
/
syslinux
/
refs/heads/oreo-m2-s4-release
/
.
/
com32
/
modules
/
reboot.c
blob: a6d564747f39bca6f89880cfbcdbf9505890c3c7 [
file
] [
log
] [
blame
]
#include
<syslinux/reboot.h>
#include
<string.h>
int
main
(
int
argc
,
char
*
argv
[])
{
int
warm
=
0
;
int
i
;
for
(
i
=
1
;
i
<
argc
;
i
++)
{
if
(!
strcmp
(
argv
[
i
],
"-w"
)
||
!
strcmp
(
argv
[
i
],
"--warm"
))
warm
=
1
;
}
syslinux_reboot
(
warm
);
}