mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
init: fix comments
This commit is contained in:
parent
99a61842df
commit
a58a637bed
@ -577,7 +577,7 @@ static void halt_reboot_pwoff(int sig)
|
|||||||
loop_forever();
|
loop_forever();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handler for HUP and QUIT - exec "restart" action,
|
/* Handler for QUIT - exec "restart" action,
|
||||||
* else (no such action defined) do nothing */
|
* else (no such action defined) do nothing */
|
||||||
static void exec_restart_action(int sig ATTRIBUTE_UNUSED)
|
static void exec_restart_action(int sig ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
@ -715,7 +715,7 @@ static void parse_inittab(void)
|
|||||||
/* Swapoff on halt/reboot */
|
/* Swapoff on halt/reboot */
|
||||||
if (ENABLE_SWAPONOFF)
|
if (ENABLE_SWAPONOFF)
|
||||||
new_init_action(SHUTDOWN, "swapoff -a", "");
|
new_init_action(SHUTDOWN, "swapoff -a", "");
|
||||||
/* Prepare to restart init when a HUP is received */
|
/* Prepare to restart init when a QUIT is received */
|
||||||
new_init_action(RESTART, "init", "");
|
new_init_action(RESTART, "init", "");
|
||||||
/* Askfirst shell on tty1-4 */
|
/* Askfirst shell on tty1-4 */
|
||||||
new_init_action(ASKFIRST, bb_default_login_shell, "");
|
new_init_action(ASKFIRST, bb_default_login_shell, "");
|
||||||
|
Loading…
Reference in New Issue
Block a user