How To Add "options" To A Dynamically Created /etc/resolv.conf
This document (7011591) is provided subject to the disclaimer at the end of this document.
check=$(grep options /etc/resolv.conf)
if ["$check" == ""]; then
echo 'options timeout:1 attempts:2' >> /etc/resolv.conf
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7011591
- Creation Date: 08-Jan-2013
- Modified Date:24-Mar-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com