/[livecd-tools]/trunk/autoconfig
Gentoo

Diff of /trunk/autoconfig

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

Revision 24 Revision 25
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2002 Gentoo Technologies, Inc. 2# Copyright 1999-2002 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: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.13 2005/01/24 21:00:21 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.14 2005/01/26 21:35:29 wolf31o2 Exp $
5 5
6echo "0" > /proc/sys/kernel/printk 6echo "0" > /proc/sys/kernel/printk
7DHCP="yes" 7DHCP="yes"
8DETECT="yes" 8DETECT="yes"
9GPM="yes" 9GPM="yes"
82 ebegin ${HILITE} "PCMCIA enabled via cmdline" 82 ebegin ${HILITE} "PCMCIA enabled via cmdline"
83 /etc/init.d/pcmcia start 83 /etc/init.d/pcmcia start
84 fi 84 fi
85 85
86 if [ "${DHCP}" = "no" ]; then 86 if [ "${DHCP}" = "no" ]; then
87 sed -i -e 's/ifconfig_eth0=( "dhcp" )/#ifconfig_eth0=( "dhcp" )/' \ 87 sed -i -e '/^ifconfig_eth/ s//^#/' \
88 sed -i -e 's/ifconfig_eth1=( "dhcp" )/#ifconfig_eth1=( "dhcp" )/' \ 88 -e '/^iface_eth/ s//^#/' \
89 sed -i -e 's/ifconfig_eth2=( "dhcp" )/#ifconfig_eth2=( "dhcp" )/' \
90 sed -i -e 's/ifconfig_eth3=( "dhcp" )/#ifconfig_eth3=( "dhcp" )/' \
91 /etc/conf.d/net 89 /etc/conf.d/net
92 ebegin ${BAD}"Skipping DHCP broadcast detection as requested on boot commandline." 90 ebegin ${BAD}"Skipping DHCP broadcast detection as requested on boot commandline."
93 fi 91 fi
94 92
95 #Read in what hwsetup has found 93 #Read in what hwsetup has found
96 [ -f /etc/sysconfig/knoppix ] && . /etc/sysconfig/knoppix 94 [ -f /etc/sysconfig/knoppix ] && . /etc/sysconfig/knoppix

Legend:
Removed from v.24  
changed lines
  Added in v.25

  ViewVC Help
Powered by ViewVC 1.1.20