John Baldwin wrote: > > However, the original definition has already been used once the /etc/rc.conf > has been read. Unless you are going to call the for loop twice, once after > /etc/defaults/rc.conf to include /etc/rc.conf and once after /etc/rc.conf to > include the extra stuff you define, your changes to ${rc_conf_files} in > /etc/rc.conf will never take effect.
Make a sucking function (or separate script), call it recursively for each time rc_conf_files change. #!/bin/sh for file in $1 do . $file if [ "${rc_conf_files}X" != "$*X" ] then . $0 "${rc_conf_files}" fi done -- Daniel C. Sobral (8-DCS) d...@newsguy.com d...@freebsd.org "What happened?" "It moved, sir!" To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message