summaryrefslogtreecommitdiffstats
path: root/etc/rc.subr
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.subr')
-rw-r--r--etc/rc.subr11
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 7c77cc8..78a0f36 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -1329,13 +1329,22 @@ geli_make_list()
# Create list of GELI providers from fstab.
while read provider mountpoint type options rest ; do
+ case ":${options}" in
+ :*noauto*)
+ noauto=yes
+ ;;
+ *)
+ noauto=no
+ ;;
+ esac
+
case ":${provider}" in
:#*)
continue
;;
*.eli)
# Skip swap devices.
- if [ "${type}" = "swap" -o "${options}" = "sw" ]; then
+ if [ "${type}" = "swap" -o "${options}" = "sw" -o "${noauto}" = "yes" ]; then
continue
fi
devices="${devices} ${provider}"
OpenPOWER on IntegriCloud