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

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

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

Revision 756 Revision 757
1# udhcpc (net-misc/udhcp) module for net-scripts 1# udhcpc (net-misc/udhcp) 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 udhcpc_depend(void) 20# void udhcpc_depend(void)
21# 21#
22# Sets up the dependancies for the module 22# Sets up the dependancies for the module
23udhcpc_depend() { 23udhcpc_depend() {
24 after interface 24 after interface
25 need interface
26} 25}
27 26
28# bool udhcpc_check_installed(void) 27# bool udhcpc_check_installed(void)
29# 28#
30# Returns 1 if udhcpc is installed, otherwise 0 29# Returns 1 if udhcpc is installed, otherwise 0
60# char* udhcpc_get_vars(char *interface) 59# char* udhcpc_get_vars(char *interface)
61# 60#
62# Returns a string spaced with possible user set 61# Returns a string spaced with possible user set
63# configuration variables 62# configuration variables
64udhcpc_get_vars() { 63udhcpc_get_vars() {
65 echo "udhcpc_${1} peer_dns_${1} peer_nis_${1} peer_ntp_${1}" 64 echo "udhcpc_${1} dhcp_${1}"
66} 65}
67 66
68# bool udhcpc_stop(char *iface) 67# bool udhcpc_stop(char *iface)
69# 68#
70# Stops udhcpc running on an interface 69# Stops udhcpc running on an interface

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

  ViewVC Help
Powered by ViewVC 1.1.20