diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-12-07 23:14:59 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-12-07 23:14:59 +0000 |
commit | 485b9550fd01eb519fc0d4f4f148af39fe22250e (patch) | |
tree | 7cf511946e5991ad2fd66734b1a1d2a5045d7c6b /init | |
parent | d00c2628474b9e6a3fe34c988fe197cf2425ff1a (diff) |
Stuf
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/init/init.c b/init/init.c index dbd9f2812..164ee69a3 100644 --- a/init/init.c +++ b/init/init.c @@ -151,19 +151,11 @@ void message(int device, char *fmt, ...) void set_term( int fd) { struct termios tty; -#if 0 - static const char control_characters[] = { - '\003', '\034', '\177', '\030', '\004', '\0', - '\1', '\0', '\021', '\023', '\032', '\0', '\022', - '\017', '\027', '\026', '\0' - }; -#else static const char control_characters[] = { '\003', '\034', '\177', '\025', '\004', '\0', '\1', '\0', '\021', '\023', '\032', '\0', '\022', '\017', '\027', '\026', '\0' }; -#endif tcgetattr(fd, &tty); @@ -386,7 +378,7 @@ goodnight: static void shutdown_system(void) { const char* const swap_off_cmd[] = { "swapoff", "swapoff", "-a", 0}; - const char* const umount_cmd[] = { "umount", "umount", "-a", "-n", 0}; + const char* const umount_cmd[] = { "umount", "umount", "-a", 0}; #ifndef DEBUG_INIT /* Allow Ctrl-Alt-Del to reboot system. */ |