Skip to content

Commit

Permalink
Do not check save-to-partition twice if we know it
Browse files Browse the repository at this point in the history
  • Loading branch information
mavrothal committed Jan 30, 2015
1 parent 5f56e6e commit 37c1b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion woof-code/boot/initrd-tree0/init
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ if [ "$CREATEPDEV1" != "" ];then
FS="$DEV1FS"
fi
[ "`echo "$FS" | grep 'ext[234]'`" != "" ] && echo "/dev/$DEV $CREATEPDEV1 $FS defaults 1 1" >> /etc/fstab #v2.21
if [ "$PFSCK" = "yes" ]; then
if [ "$PFSCK" = "yes" -a "$pdev1" = "" ]; then
FSCKME="$DEV $FS"
fsckme_func $FSCKME
fi
Expand Down
2 changes: 1 addition & 1 deletion woof-code/huge_extras/init
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ if [ "$CREATEPDEV1" != "" ];then
FS="$DEV1FS"
fi
[ "`echo "$FS" | grep 'ext[234]'`" != "" ] && echo "/dev/$DEV $CREATEPDEV1 $FS defaults 1 1" >> /etc/fstab #v2.21
if [ "$PFSCK" = "yes" ]; then
if [ "$PFSCK" = "yes" -a "$pdev1" = "" ]; then
FSCKME="$DEV $FS"
fsckme_func $FSCKME
fi
Expand Down

0 comments on commit 37c1b46

Please sign in to comment.