/[livecd-tools]/trunk/autoconfig
Gentoo

Diff of /trunk/autoconfig

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

Revision 112 Revision 113
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.63 2006/07/14 02:25:10 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.64 2006/07/14 02:27:45 wolf31o2 Exp $
5 5
6DHCP="yes" 6DHCP="yes"
7DETECT="yes" 7DETECT="yes"
8GPM="yes" 8GPM="yes"
9PCMCIA="no" 9PCMCIA="no"
68} 68}
69 69
70# Checks whether a service will be started by autoconfig. 70# Checks whether a service will be started by autoconfig.
71# Usage: check_svc var service [service_alternative] 71# Usage: check_svc var service [service_alternative]
72check_svc() { 72check_svc() {
73 if [ "$1" = "yes" ] 73 if [ "${1}" = "yes" ]
74 then 74 then
75 if [ -x "/etc/init.d/$2" ] 75 if [ -x "/etc/init.d/$2" ]
76 then 76 then
77 echo "$2" 77 echo "${2}"
78 elif [ -n "$3" -a -x "/etc/init.d/$3" ] 78 elif [ -n "${3}" -a -x "/etc/init.d/${3}" ]
79 then 79 then
80 echo "$3" 80 echo "${3}"
81 fi 81 fi
82 fi 82 fi
83} 83}
84 84
85# Prints an ordered list of services that will be started by autoconfig. 85# Prints an ordered list of services that will be started by autoconfig.
235 detect_mips 235 detect_mips
236 ACPI="no" 236 ACPI="no"
237 APM="no" 237 APM="no"
238 IDEDMA="no" 238 IDEDMA="no"
239 ;; 239 ;;
240 i?86|x86_64|ia64) 240 i?86|x86_64)
241 detect_x86_amd64_ia64 241 detect_x86_amd64_ia64
242 ;; 242 ;;
243 alpha) 243 alpha)
244 detect_alpha 244 detect_alpha
245 ACPI="no" 245 ACPI="no"

Legend:
Removed from v.112  
changed lines
  Added in v.113

  ViewVC Help
Powered by ViewVC 1.1.20