Fixing invalid syntax in test for opt_link.
[live-boot-grml.git] / scripts / boot / 9990-misc-helpers.sh
index 18befee..f2814ec 100755 (executable)
@@ -608,7 +608,7 @@ load_keymap ()
        # Load custom keymap
        if [ -x /bin/loadkeys -a -r /etc/boottime.kmap.gz ]
        then
-               loadkeys /etc/boottime.kmap.gz
+               loadkeys --quiet /etc/boottime.kmap.gz
        fi
 }
 
@@ -1482,7 +1482,7 @@ activate_custom_mounts ()
                # ignore the loop below and set rootfs_dest_backing=$dest
                local rootfs_dest_backing
                rootfs_dest_backing=""
-               if [ -n "${opt_link}"]
+               if [ -n "${opt_link}" ]
                then
                        for d in /live/rootfs/*
                        do