plan9front/rc
cinap_lenrek 556618eb07 sysupdate: use the rc -b flag to keep sysupdate in memory
when /rc/bin/sysupdate gets updated itself during a sysupdate,
rc gets confused when continuing reading the original file,
but it gets data from the updated file causing confusion.

the -b flag forces rc to read the original file as a whole
before starting execution preventing this issue.

updating this should be fine as the file has been shrunk
from 230 bytes to 224 bytes.
2023-09-17 00:36:51 +00:00
..
bin sysupdate: use the rc -b flag to keep sysupdate in memory 2023-09-17 00:36:51 +00:00
lib rc: use /fd/0 for standard-input instead of '#d/0' in non-interactive mode 2022-12-12 21:21:22 +00:00