On 2004-09-21 14:40, Markie <[EMAIL PROTECTED]> wrote: > I was just looking at that diff you attached. I think I understand it near > enough, but just before the esac is that like a default: style part? So if > nothing matches, i.e if the script isn't called selectcf, then it'll just > run the script and not reload rc.conf? Wouldn't I need a run_rc_script > before the unset _rc_conf_loaded, to actually run my selectcf script? :-)
It's there already. I've just used a trick with md5(1) to check if the file rc.conf changes and you missed it because it's hidden between two other lines. Just above the body of the if-block you're reading I had added the following: % + _sum_before=`md5 /etc/rc.conf` % + run_rc_script ${_rc_elem} ${_boot} % + _sum_after=`md5 /etc/rc.conf` _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"