bsdinstall: Fix local_unbound option default on revisit
The variable used for the checklist's default value needs to correspond to the rc.conf variable as that's what's being parsed to determine them. In the case of local_unbound it's missing the _enable suffix and thus always defaults to off on revisit. Fixes: 58eb9abb3157 ("Add a line to the post-installation configuration dialog to enable the local_unbound service.")
This commit is contained in:
parent
91985bc5ad
commit
bad602850e
@ -46,7 +46,8 @@ DAEMONS=$( bsddialog --backtitle "$OSNAME Installer" \
|
||||
--title "System Configuration" --no-cancel --separate-output \
|
||||
--checklist "Choose the services you would like to be started at boot:" \
|
||||
0 0 0 \
|
||||
local_unbound "Local caching validating resolver" ${local_unbound:-off} \
|
||||
local_unbound "Local caching validating resolver" \
|
||||
${local_unbound_enable:-off} \
|
||||
sshd "Secure shell daemon" ${sshd_enable:-off} \
|
||||
moused "PS/2 mouse pointer on console" ${moused_enable:-off} \
|
||||
ntpd "Synchronize system and network time" ${ntpd_enable:-off} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user