[arch-projects] [initscripts] [PATCH] Remove sed from bootlog_stop()

Florian Pritz bluewind at xinu.at
Fri Jun 29 10:14:58 EDT 2012


bootlogd from our sysvinit package now removes all escape codes directly so
this (incomplete) sed call is no longer needed.

Signed-off-by: Florian Pritz <bluewind at xinu.at>
---
 functions | 2 --
 1 file changed, 2 deletions(-)

diff --git a/functions b/functions
index 000cd60..16f8d8f 100644
--- a/functions
+++ b/functions
@@ -588,8 +588,6 @@ bootlogd_stop() {
 	touch /var/log/boot
 	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/\^\[(\[1?[0-9][0-9]|%)G//g' -e 's/\^\[\[0;1//g'  /var/log/boot
 }
 
 ###############################
-- 
1.7.11.1


More information about the arch-projects mailing list