diff options
Diffstat (limited to 'main/openrc/modloop.initd')
-rw-r--r-- | main/openrc/modloop.initd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/openrc/modloop.initd b/main/openrc/modloop.initd index c59cd9a7d9..19be59de00 100644 --- a/main/openrc/modloop.initd +++ b/main/openrc/modloop.initd @@ -33,6 +33,7 @@ find_mnt() { local dev mnt fs mntopts chk case "$search_dev" in UUID=*|LABEL=*|/dev/*);; + nfs) search_dev="${KOPT_alpine_dev#nfs:}";; *) search_dev=/dev/$search_dev;; esac local search_real_dev=$(resolve_dev $search_dev) @@ -64,7 +65,7 @@ find_media() { alpine_mnt=$(find_mnt $alpine_dev /proc/mounts) if [ -z "$alpine_mnt" ]; then # then we check fstab - alpine_mnt=$(find_mnt /dev/$alpine_dev /etc/fstab) + alpine_mnt=$(find_mnt $alpine_dev /etc/fstab) else alpine_mounted=yes fi |