Merge pull request #2936 from chewitt/fsck_hfsplus_init

init: only fsck hfs+ when booting from hfs+
This commit is contained in:
Christian Hewitt 2014-02-12 20:08:02 -08:00
commit dc7e0e26ca

View File

@ -342,7 +342,7 @@
}
hfsdiskprep() {
for DEVICE in /dev/sd*; do
for DEVICE in $(/bin/busybox blkid /dev/sd* | sed -e "s,\",,g"| grep $boot); do
for device in $(/bin/busybox blkid $DEVICE); do
case $device in
TYPE=*)