[arch-projects] [PATCH] Clean up more ANSI codes from /var/log/boot (close FS#25682)
Eric Bélanger
snowmaniscool at gmail.com
Sat Aug 20 07:02:31 EDT 2011
Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
---
functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/functions b/functions
index bd05fa8..f68c088 100644
--- a/functions
+++ b/functions
@@ -435,7 +435,7 @@ bootlogd_stop() {
kill $(< /run/bootlogd.pid)
rm -f /run/bootlogd.pid
sed -i -r -e 's/\^\[\[[0-9]?;?[0-9]?[0-9]?;?[0-9]?[0-9]?[ms]//g' \
- -e 's/\^\[(\[151|%)G//g' /var/log/boot
+ -e 's/\^\[(\[1[0-9]1|%)G//g' -e 's/\^\[\[0;1//g' /var/log/boot
}
###############################
--
1.7.6
More information about the arch-projects
mailing list