From 7852300ec2e19c8a07ff4a58c48cfb0addb58269 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 19 Oct 2005 10:36:10 +0000 Subject: [PATCH] Don't beep (print bell characters) on rebooting --- commands/reboot/sh_wall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/reboot/sh_wall.c b/commands/reboot/sh_wall.c index 77e9e9863..dbaaeee5d 100755 --- a/commands/reboot/sh_wall.c +++ b/commands/reboot/sh_wall.c @@ -46,7 +46,7 @@ char *extra; /* If non-nil, why is the shutdown */ time(&now); if (uname(&utsname) != 0) strcpy(utsname.nodename, "?"); - sprintf(message, "\r\nBroadcast message from %s@%s (%s)\r\n%.24s...\007\007\007\r\n", + sprintf(message, "\r\nBroadcast message from %s@%s (%s)\r\n%.24s...\r\n", ourname, utsname.nodename, ourtty, ctime(&now)); crnlcat(message, when); -- 2.44.0