diff options
-rw-r--r-- | etc/init.d/zfs-functions.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/init.d/zfs-functions.in b/etc/init.d/zfs-functions.in index 97f2ea039..f5b74d458 100644 --- a/etc/init.d/zfs-functions.in +++ b/etc/init.d/zfs-functions.in @@ -393,6 +393,8 @@ read_fstab() i=0 while read -r fs mntpnt fstype opts; do echo "$fs" | egrep -qE '^#|^$' && continue + echo "$mntpnt" | egrep -qE '^none|^swap' && continue + echo "$fstype" | egrep -qE '^swap' && continue if echo "$fs $mntpnt $fstype $opts" | grep -qE "$match"; then eval export FSTAB_dev_$i="$fs" |