X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=2736153fdc2f34069e63cb2afc088b3f5b8718c1;hp=97debc0ddb8d1059a94db4c1b14e74028dc3cae1;hb=1dc85ae94249724ee039afb3deaff901d2bccc1b;hpb=7ce3406250811932eaba5e0fd486fe6ed1d2cde5 diff --git a/autoconfig.functions b/autoconfig.functions index 97debc0..2736153 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1126,7 +1126,7 @@ fi # {{{ display hostkeys of SSH server config_display_ssh_fingerprints() { - if ! find /etc/ssh/ -name ssh_host_\*_key >/dev/null 2>&1 ; then + if ! ls /etc/ssh/ssh_host_\*_key >/dev/null 2>&1 ; then return 0 # no SSH host keys present fi @@ -1570,6 +1570,7 @@ DCSMP="/mnt/grml" GRMLCFG="$(getbootparam 'autoconfig' 2>>$DEBUG)" [ -n "$GRMLCFG" ] || GRMLCFG="GRMLCFG" if checkbootparam 'noautoconfig' || checkbootparam 'forensic' ; then + DCSDIR="/live/image" # set default so it works for "scripts" boot option as expected ewarn "Skipping running automount of device(s) labeled $GRMLCFG as requested." ; eend 0 else if [ -z "$INSTALLED" ] ; then