From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QGMlD-00083r-A7 for garchives@archives.gentoo.org; Sun, 01 May 2011 02:51:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AB2F1C05E; Sun, 1 May 2011 02:49:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 394A81C05E for ; Sun, 1 May 2011 02:49:09 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF6291B4071 for ; Sun, 1 May 2011 02:49:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1B2BB80509 for ; Sun, 1 May 2011 02:49:08 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <9b4871770ed2be5f3980a0a7b83c529254a69fd0.williamH@gentoo> Subject: [gentoo-commits] proj/livecd-tools:master commit in: / X-VCS-Repository: proj/livecd-tools X-VCS-Files: autoconfig X-VCS-Directories: / X-VCS-Committer: williamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 9b4871770ed2be5f3980a0a7b83c529254a69fd0 Date: Sun, 1 May 2011 02:49:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 5318fa198f58a478d7a3e1a4c479271c commit: 9b4871770ed2be5f3980a0a7b83c529254a69fd0 Author: William Hubbs gentoo org> AuthorDate: Fri Feb 11 21:13:09 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun May 1 02:46:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/livecd-tools.= git;a=3Dcommit;h=3D9b487177 migrate most services to the list_services function --- autoconfig | 22 +++------------------- 1 files changed, 3 insertions(+), 19 deletions(-) diff --git a/autoconfig b/autoconfig index 4e45702..4fb083b 100755 --- a/autoconfig +++ b/autoconfig @@ -268,7 +268,7 @@ list_services() { svcs=3D"${svcs} $(check_svc ${NFS} nfsmount)" svcs=3D"${svcs} $(check_svc ${PASSWD} pwgen)" svcs=3D"${svcs} $(check_svc ${PCMCIA} pcmcia)" - svcs=3D"${svcs} $(check_svc ${SSH} sshd)" + svcs=3D"${svcs} $(check_svc ${SSHD} sshd)" =20 ### TODO: make this baselayout-2 compatible ### TODO: make these checks accurate using service dependencies @@ -504,17 +504,13 @@ start() { einfo "Not Loading ACPI support ..." fi =20 - if yesno "${IDEDMA}" && ! service_started hdparm + if ! yesno "${IDEDMA}" then - rc-service -i hdparm start - else ewarn "Disabling IDE DMA support ..." fi =20 - if yesno "${PCMCIA}" && ! service_started pcmcia + if ! yesno "${PCMCIA}" then - rc-service -i pcmcia start - else ewarn "PCMCIA disabled via cmdline ..." fi =20 @@ -567,15 +563,9 @@ start() { fi fi done - if yesno "${NFS}" && ! service_started nfsmount - then - rc-service -i nfsmount start - fi if ! yesno "${PASSWD}" then echo "root:${PASSWORD}" | chpasswd > /dev/null 2>&1 - elif ! service_started pwgen - rc-service -i pwgen start fi if yesno "${SSHD}" then @@ -586,7 +576,6 @@ start() { ewarn "WARNING: You are starting sshd with a scrambled root password= !!!" ewarn "WARNING: You need to set a root password to be able to login = remotely." fi - rc-service -i sshd start fi else ewarn "No Network device auto detected ..." @@ -605,11 +594,6 @@ start() { =20 einfo "${sndmsg}" =20 - if ! service_started alsasound - then - rc-service -i alsasound start - fi - if [ -e /proc/asound/cards ] then for i in $(cat /proc/asound/cards | awk '{print $1}' | grep ^[[:digi= t:]])