Use RC_CONF instead of the hardcoded /etc/rc.conf
This commit is contained in:
parent
c427d3c1fe
commit
b6766c2544
@ -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))
|
if (!rc_newer_than(RC_DEPTREE_CACHE, RC_LOCAL_CONFDIR, newest, file))
|
||||||
newer = true;
|
newer = true;
|
||||||
#endif
|
#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;
|
newer = true;
|
||||||
|
|
||||||
/* Some init scripts dependencies change depending on config files
|
/* Some init scripts dependencies change depending on config files
|
||||||
|
Loading…
Reference in New Issue
Block a user