Line 0
Link Here
|
|
|
1 |
#!/bin/bash |
2 |
# Copyright (c) 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 |
action="$1" |
8 |
interface="$2" |
9 |
|
10 |
if [[ ${action} == "up" ]]; then |
11 |
. /lib/rcscripts/net.modules.d/helpers.d/module-loader |
12 |
resolv="${statedir}/${interface}/resolv.conf" |
13 |
system_dns "${interface}" "${resolv}" |
14 |
fi |
15 |
|
16 |
. /lib/rcscripts/net.modules.d/helpers.d/dhcp-state |
17 |
|
18 |
# vim:ts=4 |
0 |
+ * |
19 |
+ * |