slitaz-boot-scripts diff etc/init.d/rcS @ rev 435
tee never exit with busybox > 24
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 07 12:30:04 2017 +0100 (2017-01-07) |
parents | 29ec74a6d359 |
children | b09c326b9374 |
line diff
1.1 --- a/etc/init.d/rcS Fri Nov 27 12:48:01 2015 +0200 1.2 +++ b/etc/init.d/rcS Sat Jan 07 12:30:04 2017 +0100 1.3 @@ -235,3 +235,4 @@ 1.4 mv -f /run/boot.log /var/log/boot.log 1.5 /etc/init.d/rcS readwrite 2>&1 | tee -a /var/log/boot.log ;; 1.6 esac 1.7 +busybox ps | sed '/tee -a .*boot.log/!d;s/ root.*//' | xargs kill 2> /dev/null