]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fips/fips.sh: die(), if boot=<device> is not present or has wrong format
authorHarald Hoyer <harald@redhat.com>
Mon, 7 Mar 2011 12:14:10 +0000 (13:14 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 Mar 2011 12:37:19 +0000 (13:37 +0100)
modules.d/01fips/fips.sh

index a8db43b783e25d42221fa3195d91e20a56cc6ff7..d7615c8df810f9eb3577c810f88f664b18be1549 100755 (executable)
@@ -18,6 +18,8 @@ do_fips()
             bootok=1 ;;
         /dev/*)
             bootok=1 ;;
+        *)
+            die "You have to specify boot=<boot device> as a boot option for fips=1" ;;
     esac
 
     if ! [ -e "$boot" ]; then