2 echo " > To make the system actually use this NSS module, add it to the list"
3 echo " > of hosts modules in /etc/nsswitch.conf:"
5 echo "hosts: files gw_name dns"
9 if grep -q "gw_name" /etc/nsswitch.conf; then
10 echo " > Removing gw_name from /etc/nsswitch.conf."
11 sed -i "s/ gw_name\( ?\)/\1/" /etc/nsswitch.conf