Do not show the security warning dialog if BATCH is set (it causes

sysinstall to hang).
This commit is contained in:
Jimmy Olgeni 2002-04-24 21:26:08 +00:00
parent 05cce0c1ba
commit 59699d3026
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58077
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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