slitaz-boot-scripts 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 d8e26d386dd6
children b09c326b9374
files etc/init.d/rcS
line diff
     1.1 --- a/etc/init.d/rcS	Sat Sep 17 21:17:54 2016 +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