SED=Exists -x /usr/bin/sed /rescue/sed
avoids adding /rescure to $PATH, and allows use of sed
before /usr is mounted (if a separate filesystem).
Differential D43826
rc.subr add Exists so we can find sed sjg on Feb 11 2024, 1:01 AM. Authored by Tags None Referenced Files
Subscribers
Details
SED=Exists -x /usr/bin/sed /rescue/sed avoids adding /rescure to $PATH, and allows use of sed
Diff Detail
Event TimelineComment Actions This looks good. It makes an extra effort to find sed. Comment Actions we could but it is only needed if /usr isn't mounted which is checked by have basename
old habits... |