All pastes #245897 Raw Edit

Miscellany

public text v1 · immutable
#245897 ·published 2006-11-11 16:03 UTC
rendered paste body
#!/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