|
@ -43,6 +43,7 @@ for i in $BLOCKS; do |
|
|
SUBDIRBOOT=1 |
|
|
SUBDIRBOOT=1 |
|
|
break |
|
|
break |
|
|
fi |
|
|
fi |
|
|
|
|
|
break |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
@ -134,6 +135,7 @@ case "$ACTION" in |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ "$PARTNAME" == "swap" ]; then |
|
|
if [ "$PARTNAME" == "swap" ]; then |
|
|
|
|
|
LOGINFO "[$ACTION] /dev/$MDEV is a swap partition" |
|
|
mkswap /dev/$MDEV |
|
|
mkswap /dev/$MDEV |
|
|
swapon /dev/$MDEV |
|
|
swapon /dev/$MDEV |
|
|
exit 0 |
|
|
exit 0 |
|
|