openwrt/package/base-files/files/lib
Daniel Golle 4d3303b1bd
base-files: stage2: improve /proc/*/stat parser
Simply reading /proc/*/stat as a space-separated string will not work
as the process name may itself contain spaces. Hence we must match on
the '(' and ')' characters around the process name and can then handle
the remaining string as space-separated values.
This fixes shell error messages which have been popping up the console
due to spaces in process names being interpreted as field separators.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-13 18:36:52 +00:00
..
functions base-files: add minimal mmc support 2021-11-01 00:56:51 +01:00
preinit base-files: bring up vlan interface too 2021-06-22 23:23:00 +02:00
upgrade base-files: stage2: improve /proc/*/stat parser 2021-11-13 18:36:52 +00:00
functions.sh base-files: allow specifiying rootdev for find_mmc_part 2021-11-01 18:00:42 +00:00