X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=autoconfig.functions;h=39b7050357d85196d2d59e353d3a7938ef76b8bb;hb=3a6c1c2ec7cc1a6e5ead78b1f038b3ae885ecd2a;hp=10f05f29ed63b8442d93211717039f7695af5735;hpb=823c8bdde72f80b6a1fbfa63939633f0a36c4328;p=grml-autoconfig.git diff --git a/autoconfig.functions b/autoconfig.functions index 10f05f2..39b7050 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -700,7 +700,7 @@ if checkbootparam "blacklist" ; then echo "alias $BLACK off" >> /etc/modprobe.d/grml echo "# end entry generated by config_blacklist of grml-autoconfig" >> /etc/modprobe.d/grml ; eend $? else - eerror "No given module for blacklist found. Blacklisting will not work therefor." + eerror "No given module for blacklist found. Blacklisting will not work therefore." fi else ewarn "Backlisting via bootoption does not work on harddisk installations." ; eend 1 @@ -1169,6 +1169,10 @@ else sleep 1 eend 0 done + if [ -n "$INSTALLED" ] ; then + ewarn 'If you want to disable automatic DHCP requests set CONFIG_DHCP=no in /etc/grml/autoconfig.' + eend 0 + fi fi } # }}} @@ -1466,6 +1470,11 @@ if ! [ -x /usr/bin/aumix ] ; then eerror "aumix binary not available. Can not set sound volumes therefore." ; eend 1 else + if ! [ -r /proc/asound/cards ] ; then + ewarn "No soundcard present, skipping mixer settings therefore." ; eend 0 + return + fi + if checkbootparam vol ; then VOL="$(getbootparam 'vol' 2>>$DEBUG)" if [ -z "$VOL" ] ; then @@ -1504,7 +1513,7 @@ else ERROR=$(aumix -w $VOL -v $VOL -p $VOL -m $VOL 2>&1) ; RC=$? if [ -n "$ERROR" ] ; then eindent - eerror "Problem setting mixer volumes: $ERROR" + eerror "Problem setting mixer volumes: $ERROR (no soundcard?)" eoutdent fi eend $RC