| 1 |
#!/bin/sh
|
| 2 |
# Copyright (c) 2004-2005 Gentoo Foundation
|
| 3 |
# Distributed under the terms of the GNU General Public License v2
|
| 4 |
|
| 5 |
# Contributed by Roy Marples (uberlord@gentoo.org)
|
| 6 |
|
| 7 |
# Map the dns, ntp and nis info so our system module can apply the setup
|
| 8 |
|
| 9 |
export dns_domain_${interface}="${domain}"
|
| 10 |
export dns_servers_${interface}="${dns}"
|
| 11 |
export routers="${router}"
|
| 12 |
|
| 13 |
export ntp_servers_${interface}="${ntpsrv}"
|
| 14 |
|
| 15 |
export nis_domain_${interface}="${nisdomain}"
|
| 16 |
export nis_servers_${interface}="${nissrv}"
|
| 17 |
|
| 18 |
/lib/rcscripts/net.modules.d/helpers.d/dhcp "$@"
|
| 19 |
|
| 20 |
# vim:ts=4
|