- make this script work with the New World Order in /etc/rc.d/localpkg, where the config files may have been loaded already and our load_rc_config invocation may do nothing: thus, we need to honor any previously set value of svscan_enable;
- for some reason svscan_stop_post() does not like the IFS-like vars set by rc.subr and localpkg; use find/xargs instead of having the shell parse its own output;
- dequote COMMENT;
- fix the daemon(8)-ization by moving 2>&1 to its proper place, so that the errors from svscan are actually picked up by readproctitle, as explained in <20040630175050.GD979@straylight.m.ringlet.net>;
- move the 'Starting svscan' message to its proper place, so that the PATH set by env(1) affects svscan, not the echo command :)
Description
Description
Details
Details
- Provenance
roam Authored on - Parents
- rP114769: ctpp --> ports/textproc/ctpp
- Branches
- Unknown
- Tags