mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
- neutrino: deactivate compatibility code in ExitRun(); ...
our start script is aligned to new exit code 2
see cd1328c41c
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -3811,6 +3811,7 @@ void CNeutrinoApp::ExitRun(int exit_code)
|
|||||||
if (!do_exiting)
|
if (!do_exiting)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
For compatibility: /tmp/.reboot is not really needed anymore
|
For compatibility: /tmp/.reboot is not really needed anymore
|
||||||
if we use the defined exit code 2 instead of this flagfile.
|
if we use the defined exit code 2 instead of this flagfile.
|
||||||
@@ -3824,6 +3825,7 @@ void CNeutrinoApp::ExitRun(int exit_code)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
unlink("/tmp/.reboot");
|
unlink("/tmp/.reboot");
|
||||||
|
#endif
|
||||||
|
|
||||||
printf("[neutrino] %s(int %d)\n", __func__, exit_code);
|
printf("[neutrino] %s(int %d)\n", __func__, exit_code);
|
||||||
printf("[neutrino] hw_caps->can_shutdown: %d\n", g_info.hw_caps->can_shutdown);
|
printf("[neutrino] hw_caps->can_shutdown: %d\n", g_info.hw_caps->can_shutdown);
|
||||||
|
Reference in New Issue
Block a user