#!/bin/sh if [ ! -e /etc/nsswitch.conf ]; then echo "hosts: files dns" >/etc/nsswitch.conf fi /opt/sbin/httpd -k restart