/[livecd-tools]/trunk/autoconfig
Gentoo

Diff of /trunk/autoconfig

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

Revision 47 Revision 48
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2005 Gentoo Foundation 2# Copyright 1999-2005 Gentoo Foundation
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.23 2005/04/13 13:19:58 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.24 2005/04/26 14:38:48 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"
88 ebegin ${HILITE} "PCMCIA enabled via cmdline" 88 ebegin ${HILITE} "PCMCIA enabled via cmdline"
89 /etc/init.d/pcmcia start 89 /etc/init.d/pcmcia start
90 fi 90 fi
91 91
92 if [ "${DHCP}" = "no" ]; then 92 if [ "${DHCP}" = "no" ]; then
93 sed -i -e '/^ifconfig_eth/ s//^#/' \ 93 sed -i -e '/^ifconfig_eth.*dhcp.*/ s/^/#/' \
94 -e '/^iface_eth/ s//^#/' \ 94 -e '/^iface_eth.*dhcp.*/ s/^/#/' \
95 /etc/conf.d/net 95 /etc/conf.d/net
96 ebegin ${BAD}"Skipping DHCP broadcast detection as requested on boot commandline." 96 ebegin ${BAD}"Skipping DHCP broadcast detection as requested on boot commandline."
97 fi 97 fi
98 98
99 #Read in what hwsetup has found 99 #Read in what hwsetup has found

Legend:
Removed from v.47  
changed lines
  Added in v.48

  ViewVC Help
Powered by ViewVC 1.1.20