Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 92982
Collapse All | Expand All

(-)autoconfig.old (+31 lines)
Lines 11-16 Link Here
11
HOTPLUG="yes"
11
HOTPLUG="yes"
12
APM="no"
12
APM="no"
13
ACPI="no"
13
ACPI="no"
14
FSTAB="yes"
15
SWAP="yes"
14
CMDLINE="`cat /proc/cmdline`"
16
CMDLINE="`cat /proc/cmdline`"
15
for x in ${CMDLINE} ; do
17
for x in ${CMDLINE} ; do
16
	if [ "${x}" = "nodetect" ]; then
18
	if [ "${x}" = "nodetect" ]; then
Lines 21-26 Link Here
21
		ACPI="no"
23
		ACPI="no"
22
	fi
24
	fi
23
25
26
	if [ "${x}" = "nofstab" ]; then
27
		FSTAB="no"
28
	fi
29
30
	if [ "${x}" = "noswap" ]; then
31
		SWAP="no"
32
	fi
33
24
	if [ "${x}" = "nodhcp" ]; then
34
	if [ "${x}" = "nodhcp" ]; then
25
		DHCP="no"
35
		DHCP="no"
26
	fi
36
	fi
Lines 136-141 Link Here
136
		DHCP="no"
146
		DHCP="no"
137
	fi
147
	fi
138
148
149
	if [ "${FSTAB}" = "yes" ]; then
150
		ebegin "Scanning for partitions and adding to /etc/fstab"
151
		/etc/init.d/rebuildfstab -r -u root -g root
152
		if [ -e /var/run/rebuildfstab.pid ]; then
153
			sleep 8
154
		fi
155
		eend
156
	else
157
		ewarn "Partition scanning disabled."
158
		ewend 0
159
	fi
160
161
	if [ "${SWAP}" = "yes" ]; then
162
		ebegin "Activating any swap partitions found"
163
		swapon -a
164
		eend
165
	else
166
		ewarn "Swap activation disabled."
167
		ewend 0
168
	fi
169
139
	if [ "${DETECT}" = "yes" ]; then
170
	if [ "${DETECT}" = "yes" ]; then
140
		NETDEVICES="`awk -F: '/eth.:|tr.:/{print $1}' /proc/net/dev 2>/dev/null`"
171
		NETDEVICES="`awk -F: '/eth.:|tr.:/{print $1}' /proc/net/dev 2>/dev/null`"
141
	fi
172
	fi

Return to bug 92982