aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 12:10:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 12:10:18 +0000
commita58a637bed06f6d794fcf822d08df926812ccd23 (patch)
treeef1b4dcc8bdd64025b680fdc5b1b3651ff2edbaa
parent99a61842df559f0cfc8613436b3bf89f4e757abf (diff)
downloadbusybox-w32-a58a637bed06f6d794fcf822d08df926812ccd23.tar.gz
busybox-w32-a58a637bed06f6d794fcf822d08df926812ccd23.tar.bz2
busybox-w32-a58a637bed06f6d794fcf822d08df926812ccd23.zip
init: fix comments
-rw-r--r--init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 8eaf61f96..a82b45b7c 100644
--- a/init/init.c
+++ b/init/init.c
@@ -577,7 +577,7 @@ static void halt_reboot_pwoff(int sig)
577 loop_forever(); 577 loop_forever();
578} 578}
579 579
580/* Handler for HUP and QUIT - exec "restart" action, 580/* Handler for QUIT - exec "restart" action,
581 * else (no such action defined) do nothing */ 581 * else (no such action defined) do nothing */
582static void exec_restart_action(int sig ATTRIBUTE_UNUSED) 582static void exec_restart_action(int sig ATTRIBUTE_UNUSED)
583{ 583{
@@ -715,7 +715,7 @@ static void parse_inittab(void)
715 /* Swapoff on halt/reboot */ 715 /* Swapoff on halt/reboot */
716 if (ENABLE_SWAPONOFF) 716 if (ENABLE_SWAPONOFF)
717 new_init_action(SHUTDOWN, "swapoff -a", ""); 717 new_init_action(SHUTDOWN, "swapoff -a", "");
718 /* Prepare to restart init when a HUP is received */ 718 /* Prepare to restart init when a QUIT is received */
719 new_init_action(RESTART, "init", ""); 719 new_init_action(RESTART, "init", "");
720 /* Askfirst shell on tty1-4 */ 720 /* Askfirst shell on tty1-4 */
721 new_init_action(ASKFIRST, bb_default_login_shell, ""); 721 new_init_action(ASKFIRST, bb_default_login_shell, "");