From 864fc1c2e0597606ec8e2e04ae3150144aa3ed39 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 25 Mar 2017 15:03:59 +0200 Subject: Add buildos monitor --- init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init') diff --git a/init b/init index 80bab77..7b869cb 100755 --- a/init +++ b/init @@ -77,6 +77,8 @@ udevadm settle || true # lines that don't contain quites. Finally, clean up by removing blank # lines. # +# Note: the same code as in buildos. +# readarray -t cmdline < <(cat /proc/cmdline | \ sed -r -e "s/([^ ]+=)?('[^']*'|\"[^\"]*\")/\n\1\2\n/g" | \ sed -r -e "/['\"]/!s/ /\n/g" | -- cgit v1.1