#!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 opts="start" start() { /root/fix-dns.sh eend $? } --------- ^^^ This is /etc/init.d/fix-dns Type: rc-update add fix-dns default to make it run at startup --------- # cat /root/fix-dns.sh echo "nameserver 203.12.160.35" >> /etc/resolv.conf echo "nameserver 203.12.160.36" >> /etc/resolv.conf