devd: Don't install autofs.conf with WITHOUT_AUTOFS

This commit is contained in:
Tijl Coosemans 2023-12-22 15:14:55 +01:00
parent 8717c306bd
commit 272b4b764b
2 changed files with 3 additions and 0 deletions

View file

@ -11,10 +11,12 @@ DEVDDIR= /etc/devd
DEVD+= asus.conf
.endif
.if ${MK_AUTOFS} != "no"
CONFGROUPS+= AUTOFS
AUTOFSDIR= ${DEVDDIR}
AUTOFS+= autofs.conf
AUTOFSPACKAGE= autofs
.endif
CONFGROUPS+= DHCLIENT
DHCLIENTDIR= ${DEVDDIR}

View file

@ -127,6 +127,7 @@ OLD_FILES+=etc/autofs/special_media
OLD_FILES+=etc/autofs/special_noauto
OLD_FILES+=etc/autofs/special_null
OLD_FILES+=etc/auto_master
OLD_FILES+=etc/devd/autofs.conf
OLD_FILES+=etc/rc.d/automount
OLD_FILES+=etc/rc.d/automountd
OLD_FILES+=etc/rc.d/autounmountd