/[livecd-tools]/trunk/autoconfig
Gentoo

Diff of /trunk/autoconfig

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

Revision 51 Revision 52
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.27 2005/05/16 19:26:39 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.28 2005/05/26 15:27:01 wolf31o2 Exp $
5 5
6DHCP="yes" 6DHCP="yes"
7DETECT="yes" 7DETECT="yes"
8GPM="yes" 8GPM="yes"
9PCMCIA="no" 9PCMCIA="no"
198 [ -n "${SOUND_DRIVER}" ] 198 [ -n "${SOUND_DRIVER}" ]
199 ebegin ${WARN}" driver = ${SOUND_DRIVER}"${HILITE} 199 ebegin ${WARN}" driver = ${SOUND_DRIVER}"${HILITE}
200 if [ -d /proc/asound/card0 ] && [ -x /usr/bin/amixer ] 200 if [ -d /proc/asound/card0 ] && [ -x /usr/bin/amixer ]
201 then 201 then
202 amixer scontrols > /etc/amixer 202 amixer scontrols > /etc/amixer
203 if [ -n "`grep Master /etc/amixer`" ] 203 if [ -n "$(grep Master /etc/amixer)" ]
204 then 204 then
205 amixer -q set Master 95% unmute >/dev/null 2>&1 205 amixer -q set Master 95% unmute >/dev/null 2>&1
206 fi 206 fi
207 if [ -n "`grep PCM /etc/amixer`" ] 207 if [ -n "$(grep PCM /etc/amixer)" ]
208 then 208 then
209 amixer -q set PCM 95% unmute >/dev/null 2>&1 209 amixer -q set PCM 95% unmute >/dev/null 2>&1
210 fi 210 fi
211 if [ -n "`grep Mic /etc/amixer`" ] 211 if [ -n "$(grep Mic /etc/amixer)" ]
212 then 212 then
213 amixer -q set Mic 95% unmute cap >/dev/null 2>&1 213 amixer -q set Mic 95% unmute cap >/dev/null 2>&1
214 fi 214 fi
215 if [ -n "`grep Wave /etc/amixer`" ] 215 if [ -n "$(grep Wave /etc/amixer)" ]
216 then 216 then
217 amixer -q set Wave 95% unmute >/dev/null 2>&1 217 amixer -q set Wave 95% unmute >/dev/null 2>&1
218 fi 218 fi
219 if [ -n "`grep Capture /etc/amixer`" ] 219 if [ -n "$(grep Capture /etc/amixer)" ]
220 then 220 then
221 amixer -q set Capture 95% unmute cap >/dev/null 2>&1 221 amixer -q set Capture 95% unmute cap >/dev/null 2>&1
222 fi 222 fi
223 fi 223 fi
224 fi 224 fi

Legend:
Removed from v.51  
changed lines
  Added in v.52

  ViewVC Help
Powered by ViewVC 1.1.20