summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2000-09-15 01:02:50 +0000
committerPavel Roskin <proski@gnu.org>2000-09-15 01:02:50 +0000
commit33bee33af0492bd79c1849aa5aed491a23e6bb02 (patch)
tree769725c30d822bafad088eae3ea7ce2b5d2d3b97
parent5f84fd70662db883c1697038fa4c1a4bc8676862 (diff)
Don't suppress output of umount and swapoff - it is both unwise
and incompatible with lash that doesn't support >&1 yet.
-rw-r--r--init.c4
-rw-r--r--init/init.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/init.c b/init.c
index 7e821f110..8d2d1b235 100644
--- 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 */
diff --git a/init/init.c b/init/init.c
index 7e821f110..8d2d1b235 100644
--- a/init/init.c
+++ b/init/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 */