]> git.pld-linux.org Git - projects/geninitrd.git/blobdiff - mod-blkid.sh
- swsusp support from mis@pld-linux
[projects/geninitrd.git] / mod-blkid.sh
index 2d679748ace4e504eef579d129840564696ec554..92df9aede517dcdb89ef9a4d4e513d293c63e261 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-BLKID_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: blkid
 USE_BLKID=${USE_BLKID:-yes}
 
@@ -24,12 +22,12 @@ initrd_gen_blkid() {
        fi
        verbose "Adding BLKID support to initrd"
 
-       inst_exec $blkid /bin/blkid
+       inst_exec $blkid /sbin/blkid
        initrd_gen_devices
        add_linuxrc <<-'EOF'
                # if built with blkid change ROOT=LABEL=something into ROOT=/dev/device parsed by blkid
                if [ "${ROOT##LABEL=}" != "${ROOT}" -o "${ROOT##UUID=}" != "${ROOT}" ]; then
-                       blkid="$(/bin/blkid -t $ROOT -o device -l)"
+                       blkid="$(/sbin/blkid -t $ROOT -o device -l)"
                        if [ -n "$blkid" ]; then
                                ROOT=$blkid
                        fi
This page took 0.042967 seconds and 4 git commands to generate.