/[baselayout]/branches/rc-scripts-1_6/net-scripts/net.modules.d/dhcpcd
Gentoo

Diff of /branches/rc-scripts-1_6/net-scripts/net.modules.d/dhcpcd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 756 Revision 757
1# DHCP (net-misc/dhcpcd) module for net-scripts 1# DHCP (net-misc/dhcpcd) module for net-scripts
2# Version 1.0.5 2# Version 1.0.6
3# Copyright (c) 2004 Gentoo Foundation 3# Copyright (c) 2004 Gentoo Foundation
4# Distributed under the terms of the GNU General Public License V2 4# Distributed under the terms of the GNU General Public License V2
5# Contributed by Roy Marples (uberlord@gentoo.org) 5# Contributed by Roy Marples (uberlord@gentoo.org)
6 6
7# Fix any potential localisation problems 7# Fix any potential localisation problems
20# void dhcpcd_depend(void) 20# void dhcpcd_depend(void)
21# 21#
22# Sets up the dependancies for the module 22# Sets up the dependancies for the module
23dhcpcd_depend() { 23dhcpcd_depend() {
24 after interface 24 after interface
25 need interface
26} 25}
27 26
28# bool dhcpcd_check_installed(void) 27# bool dhcpcd_check_installed(void)
29# 28#
30# Returns 1 if dhcpcd is installed, otherwise 0 29# Returns 1 if dhcpcd is installed, otherwise 0
52# char* dhcpcd_get_vars(char *interface) 51# char* dhcpcd_get_vars(char *interface)
53# 52#
54# Returns a string spaced with possible user set 53# Returns a string spaced with possible user set
55# configuration variables 54# configuration variables
56dhcpcd_get_vars() { 55dhcpcd_get_vars() {
57 echo "dhcpcd_${1} peer_dns_${1} peer_nis_${1} peer_ntp_${1}" 56 echo "dhcpcd_${1} dhcp_${1}"
58} 57}
59 58
60# bool dhcpcd_stop(char *iface) 59# bool dhcpcd_stop(char *iface)
61# 60#
62# Stop DHCP on an interface by calling dhcpcd -z $iface 61# Stop DHCP on an interface by calling dhcpcd -z $iface

Legend:
Removed from v.756  
changed lines
  Added in v.757

  ViewVC Help
Powered by ViewVC 1.1.20