/[baselayout]/trunk/init.d/net.lo
Gentoo

Diff of /trunk/init.d/net.lo

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

Revision 483 Revision 484
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2003 Gentoo Technologies, Inc. 2# Copyright 1999-2004 Gentoo Technologies, Inc.
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header$ 4# $Header$
5
6 5
7start() { 6start() {
8 ebegin "Bringing ${IFACE} up" 7 ebegin "Bringing ${IFACE} up"
9 /sbin/ifconfig lo 127.0.0.1 up 2>/dev/null 8 /sbin/ifconfig lo 127.0.0.1 up 2>/dev/null
10 /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 \ 9 /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 \
15stop() { 14stop() {
16 ebegin "Bringing ${IFACE} down" 15 ebegin "Bringing ${IFACE} down"
17 /sbin/ifconfig ${IFACE} down &>/dev/null 16 /sbin/ifconfig ${IFACE} down &>/dev/null
18 eend 0 17 eend 0
19} 18}
20

Legend:
Removed from v.483  
changed lines
  Added in v.484

  ViewVC Help
Powered by ViewVC 1.1.20