> Or I could make a simple script to add these lines to resolv.conf which runs
> at startup.
> An attempt:
> #!/bin/bash
> echo nameserver 203.94.227.70 203.94.243.70 > /etc/resolv.conf
> echo search 203.94.227.70 203.94.243.70 > /etc/resolv.conf
> # that's all folks

Should be double greater than (>>) instead of single greater than (>)

> 
> how can I make this run at startup?
> rc1.d?
> I might have to chmod resolv.conf to be writable by others.
> 

put the script or directly those 2 lines in /etc/rc.local.
no need to chmod.

> Regards,
> Mohan S N


Amish.
-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to