mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-20 03:46:44 +08:00
Provisioning: Disable multicast advertisements
To get rid of the computer name notification multicat advertisements needs to be disabled. This notification seems to affect to autotest by causing misleading failures. Task-number: QTBUG-89746 Pick-to: 6.0 Change-Id: I2365092ee05cc731b78e17c56eee7c4370a9f0a7 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2020 The Qt Company Ltd.
|
## Copyright (C) 2021 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -104,3 +104,5 @@ sudo rm -f "$targetFile"
|
|||||||
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
|
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
|
||||||
sudo automount -cv
|
sudo automount -cv
|
||||||
|
|
||||||
|
# Disable multicast advertisements
|
||||||
|
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2020 The Qt Company Ltd.
|
## Copyright (C) 2021 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -104,3 +104,5 @@ sudo rm -f "$targetFile"
|
|||||||
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
|
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
|
||||||
sudo automount -cv
|
sudo automount -cv
|
||||||
|
|
||||||
|
# Disable multicast advertisements
|
||||||
|
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
|
||||||
|
|||||||
Reference in New Issue
Block a user