X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=ea906fb0f743bbee655a1e682a3b2c2780f6b6b2;hp=8b872af2a3b0caedd27d58c58173be1749f95ea7;hb=494796bf66064d463792258eb990ff4f0b89a8f8;hpb=a265ef131b00edbf8b6245de4582ea2ccb12c805 diff --git a/autoconfig.functions b/autoconfig.functions index 8b872af..ea906fb 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -388,7 +388,7 @@ if checkbootparam novmware ; then ewarn "Skipping running vmware specific stuff as requested on boot commandline." ; eend 0 else if [ -z "$INSTALLED" ] ; then - if ! [ checkbootparam qemu ]; then + if ! checkbootparam qemu ; then if vmware-detect ; then if [ -r /etc/X11/xorg.conf.vmware ] ; then einfo "Copying /etc/X11/xorg.conf.vmware to /etc/X11/xorg.conf" @@ -1213,7 +1213,8 @@ if checkbootparam "nocpu"; then else if ! [ -x /etc/init.d/powernowd ] ; then ewarn "Skipping CPU detection as powernowd dependencies are not fulfilled." ; eend 1 - elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq ] ; then + elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq -o ! -e \ + /lib/modules/${KERNEL}/kernel/arch/x86_64/kernel/cpufreq ] ; then ewarn "Skipping CPU detection as module dependencies are not fulfilled." ; eend 1 else if [[ `grep -c processor /proc/cpuinfo` -gt 1 ]] ; then