Update applet define from BB_CP_MV to BB_CP and BB_MV.
[oweals/busybox.git] / init.c
diff --git a/init.c b/init.c
index 112d066a6874e9926480665305c242a12a0eb011..d65220cdd97df72ba4c5649c853b7377a578f705 100644 (file)
--- a/init.c
+++ b/init.c
@@ -278,7 +278,8 @@ static void set_term(int fd)
 
        /* Make it be sane */
        tty.c_cflag &= CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
-       tty.c_cflag |= HUPCL|CLOCAL;
+       tty.c_cflag |= CREAD|HUPCL|CLOCAL;
+
 
        /* input modes */
        tty.c_iflag = ICRNL | IXON | IXOFF;
@@ -654,7 +655,7 @@ static void shutdown_system(void)
        kill(-1, SIGKILL);
        sleep(1);
 
-       /* run everything to be run at "ctrlaltdel" */
+       /* run everything to be run at "shutdown" */
        run_actions(SHUTDOWN);
 
        sync();