1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-26 09:37:29 +02:00
openwrt/package/base-files/files
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
..
bin base-files: fix typo in config_generate MAC check 2021-06-14 22:29:49 +02:00
etc base-files: chmod 1777 /var/lock 2021-10-23 19:30:54 +02:00
lib base-files: stage2: improve /proc/*/stat parser 2021-11-13 18:36:52 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: wifi: tidy up the reconf code 2021-06-28 17:24:15 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00