Use RC_CONF instead of the hardcoded /etc/rc.conf

This commit is contained in:
Christian Ruppert 2011-06-28 18:45:39 +02:00
parent c427d3c1fe
commit b6766c2544

View File

@ -707,7 +707,7 @@ rc_deptree_update_needed(time_t *newest, char *file)
if (!rc_newer_than(RC_DEPTREE_CACHE, RC_LOCAL_CONFDIR, newest, file))
newer = true;
#endif
if (!rc_newer_than(RC_DEPTREE_CACHE, "/etc/rc.conf", newest, file))
if (!rc_newer_than(RC_DEPTREE_CACHE, RC_CONF, newest, file))
newer = true;
/* Some init scripts dependencies change depending on config files