diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-07-14 02:27:45 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-07-14 02:27:45 +0000 |
commit | bf5cd27a45c77eaac3eee9fe6955072dba0f8e11 (patch) | |
tree | f25a480bc92a5cf8189b3131f8e6b9453899ba49 /src/livecd-tools | |
parent | Apparently my foray into using bash internals instead of grep didn't work, th... (diff) | |
download | gentoo-bf5cd27a45c77eaac3eee9fe6955072dba0f8e11.tar.gz gentoo-bf5cd27a45c77eaac3eee9fe6955072dba0f8e11.tar.bz2 gentoo-bf5cd27a45c77eaac3eee9fe6955072dba0f8e11.zip |
Some minor code cleanup.
Diffstat (limited to 'src/livecd-tools')
-rw-r--r-- | src/livecd-tools/autoconfig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/livecd-tools/autoconfig b/src/livecd-tools/autoconfig index ccdb7c99a3..ad98fdf6f1 100644 --- a/src/livecd-tools/autoconfig +++ b/src/livecd-tools/autoconfig @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.63 2006/07/14 02:25:10 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.64 2006/07/14 02:27:45 wolf31o2 Exp $ DHCP="yes" DETECT="yes" @@ -70,14 +70,14 @@ depend() { # Checks whether a service will be started by autoconfig. # Usage: check_svc var service [service_alternative] check_svc() { - if [ "$1" = "yes" ] + if [ "${1}" = "yes" ] then if [ -x "/etc/init.d/$2" ] then - echo "$2" - elif [ -n "$3" -a -x "/etc/init.d/$3" ] + echo "${2}" + elif [ -n "${3}" -a -x "/etc/init.d/${3}" ] then - echo "$3" + echo "${3}" fi fi } @@ -237,7 +237,7 @@ start() { APM="no" IDEDMA="no" ;; - i?86|x86_64|ia64) + i?86|x86_64) detect_x86_amd64_ia64 ;; alpha) |