[arch-projects] [initscripts] [PATCH] Remove sed from bootlog_stop()
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@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
Thanks! On Jun 29, 2012 4:15 PM, "Florian Pritz" <bluewind@xinu.at> wrote:
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@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
participants (2)
-
Florian Pritz
-
Tom Gundersen