diff options
-rw-r--r-- | init.c | 4 | ||||
-rw-r--r-- | init/init.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -818,9 +818,9 @@ void parse_inittab(void) | |||
818 | /* No inittab file -- set up some default behavior */ | 818 | /* No inittab file -- set up some default behavior */ |
819 | #endif | 819 | #endif |
820 | /* Swapoff on halt/reboot */ | 820 | /* Swapoff on halt/reboot */ |
821 | new_initAction(CTRLALTDEL, "/sbin/swapoff -a > /dev/null 2>&1", console); | 821 | new_initAction(CTRLALTDEL, "/sbin/swapoff -a", console); |
822 | /* Umount all filesystems on halt/reboot */ | 822 | /* Umount all filesystems on halt/reboot */ |
823 | new_initAction(CTRLALTDEL, "/bin/umount -a -r > /dev/null 2>&1", console); | 823 | new_initAction(CTRLALTDEL, "/bin/umount -a -r", console); |
824 | /* Askfirst shell on tty1 */ | 824 | /* Askfirst shell on tty1 */ |
825 | new_initAction(ASKFIRST, SHELL, console); | 825 | new_initAction(ASKFIRST, SHELL, console); |
826 | /* Askfirst shell on tty2 */ | 826 | /* 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) | |||
818 | /* No inittab file -- set up some default behavior */ | 818 | /* No inittab file -- set up some default behavior */ |
819 | #endif | 819 | #endif |
820 | /* Swapoff on halt/reboot */ | 820 | /* Swapoff on halt/reboot */ |
821 | new_initAction(CTRLALTDEL, "/sbin/swapoff -a > /dev/null 2>&1", console); | 821 | new_initAction(CTRLALTDEL, "/sbin/swapoff -a", console); |
822 | /* Umount all filesystems on halt/reboot */ | 822 | /* Umount all filesystems on halt/reboot */ |
823 | new_initAction(CTRLALTDEL, "/bin/umount -a -r > /dev/null 2>&1", console); | 823 | new_initAction(CTRLALTDEL, "/bin/umount -a -r", console); |
824 | /* Askfirst shell on tty1 */ | 824 | /* Askfirst shell on tty1 */ |
825 | new_initAction(ASKFIRST, SHELL, console); | 825 | new_initAction(ASKFIRST, SHELL, console); |
826 | /* Askfirst shell on tty2 */ | 826 | /* Askfirst shell on tty2 */ |