devd: Don't install autofs.conf with WITHOUT_AUTOFS

(cherry picked from commit 272b4b764bdfb563f655da37ef9ec8c01c77f386)
This commit is contained in:
Tijl Coosemans 2023-12-22 15:14:55 +01:00
parent e39ee9b9ef
commit 487d79d44f
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