Skip to contentSkip to conversation

modification to pull-resolv-conf/client.up and client.down scipt

Openvpn-devel Scott Ruckh 2 participants 2 messages Jun 27, 2007 – Jun 28, 2007

lore
Share & tools
lore
#0 lore raw

Attached are modifications to the pull-resolv-conf/client.up and pull-resolv-conf/client.down scripts. The changes and modifications are documented in the script.

This change produces a more friendly /etc/resolv.conf that is more GNU/Linux compliant.

Please review and add to SVN if it is found to be useful.

Thank You

Signature · 1 line
Scott
#1 lore raw
Quoted 8 lines · On Wed, 27 Jun 2007 16:34:49 -0700 (MST) "Scott Ruckh" <[email protected]...>…

Attached are modifications to the pull-resolv-conf/client.up and pull-resolv-conf/client.down scripts. The changes and modifications are documented in the script.

This change produces a more friendly /etc/resolv.conf that is more GNU/Linux compliant.

Please review and add to SVN if it is found to be useful.

At this point I'll step in and attach the up/down scripts used in Gentoo which work without bash an have been tested on FreeBSD sh, dash, busybox and bash.

They also support resolvconf, a resolv.conf manager. Note the FIXME section when using >1 domain.

Thanks

Roy