| 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.9 2004/11/19 16:11:24 wolf31o2 Exp $ |
4 | # $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.10 2004/11/20 14:11:24 wolf31o2 Exp $ |
| 5 | |
5 | |
| 6 | echo "0" > /proc/sys/kernel/printk |
6 | echo "0" > /proc/sys/kernel/printk |
| 7 | DHCP="yes" |
7 | DHCP="yes" |
| 8 | DETECT="yes" |
8 | DETECT="yes" |
| 9 | PCMCIA="no" |
9 | PCMCIA="no" |
| … | |
… | |
| 66 | eend |
66 | eend |
| 67 | fi |
67 | fi |
| 68 | |
68 | |
| 69 | if [ "${ACPI}" = "yes" ]; then |
69 | if [ "${ACPI}" = "yes" ]; then |
| 70 | insmod processor >/dev/null 2>&1 && ebegin ${GOOD} ACPI power management functions enabled.${NORMAL} && insmod thermal >/dev/null |
70 | insmod processor >/dev/null 2>&1 && ebegin ${GOOD} ACPI power management functions enabled.${NORMAL} && insmod thermal >/dev/null |
| 71 | insmod fan >/dev/null |
71 | insmod fan >/dev/null 2>&1 |
| 72 | insmod button >/dev/null |
72 | insmod button >/dev/null 2>&1 |
| 73 | insmod battery >/dev/null |
73 | insmod battery >/dev/null 2>&1 |
| 74 | insmod ac >/dev/null |
74 | insmod ac >/dev/null 2>&1 |
| 75 | /etc/init.d/acpid start |
75 | /etc/init.d/acpid start |
| 76 | eend |
76 | eend |
| 77 | fi |
77 | fi |
| 78 | |
78 | |
| 79 | if [ "${PCMCIA}" = "yes" ]; then |
79 | if [ "${PCMCIA}" = "yes" ]; then |