Don't suppress output of umount and swapoff - it is both unwise
authorproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 15 Sep 2000 01:02:50 +0000 (01:02 +0000)
committerproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 15 Sep 2000 01:02:50 +0000 (01:02 +0000)
and incompatible with lash that doesn't support >&1 yet.

git-svn-id: svn://busybox.net/trunk/busybox@1055 69ca8d6d-28ef-0310-b511-8ec308f3f277

init.c
init/init.c

diff --git a/init.c b/init.c
index 7e821f1..8d2d1b2 100644 (file)
--- a/init.c
+++ b/init.c
@@ -818,9 +818,9 @@ void parse_inittab(void)
                /* No inittab file -- set up some default behavior */
 #endif
                /* Swapoff on halt/reboot */
-               new_initAction(CTRLALTDEL, "/sbin/swapoff -a > /dev/null 2>&1", console);
+               new_initAction(CTRLALTDEL, "/sbin/swapoff -a", console);
                /* Umount all filesystems on halt/reboot */
-               new_initAction(CTRLALTDEL, "/bin/umount -a -r > /dev/null 2>&1", console);
+               new_initAction(CTRLALTDEL, "/bin/umount -a -r", console);
                /* Askfirst shell on tty1 */
                new_initAction(ASKFIRST, SHELL, console);
                /* Askfirst shell on tty2 */
index 7e821f1..8d2d1b2 100644 (file)
@@ -818,9 +818,9 @@ void parse_inittab(void)
                /* No inittab file -- set up some default behavior */
 #endif
                /* Swapoff on halt/reboot */
-               new_initAction(CTRLALTDEL, "/sbin/swapoff -a > /dev/null 2>&1", console);
+               new_initAction(CTRLALTDEL, "/sbin/swapoff -a", console);
                /* Umount all filesystems on halt/reboot */
-               new_initAction(CTRLALTDEL, "/bin/umount -a -r > /dev/null 2>&1", console);
+               new_initAction(CTRLALTDEL, "/bin/umount -a -r", console);
                /* Askfirst shell on tty1 */
                new_initAction(ASKFIRST, SHELL, console);
                /* Askfirst shell on tty2 */