Do not show the security warning dialog if BATCH is set (it causes
sysinstall to hang).
This commit is contained in:
parent
05cce0c1ba
commit
59699d3026
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58077
@ -37,4 +37,6 @@ if [ "$2" = "POST-INSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
/usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various security sites and groups. It is not recommended that this port be installed in public environment. Do you wish to accept the security risk and build GDM anyway?" 10 60 || /usr/bin/false
|
||||
if [ -z "${BATCH}" ]; then
|
||||
/usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various security sites and groups. It is not recommended that this port be installed in public environment. Do you wish to accept the security risk and build GDM anyway?" 10 60 || /usr/bin/false
|
||||
fi
|
||||
|
@ -37,4 +37,6 @@ if [ "$2" = "POST-INSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
/usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various security sites and groups. It is not recommended that this port be installed in public environment. Do you wish to accept the security risk and build GDM anyway?" 10 60 || /usr/bin/false
|
||||
if [ -z "${BATCH}" ]; then
|
||||
/usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various security sites and groups. It is not recommended that this port be installed in public environment. Do you wish to accept the security risk and build GDM anyway?" 10 60 || /usr/bin/false
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user