summaryrefslogtreecommitdiffstats
path: root/modules.d/95virtfs/parse-virtfs.sh
blob: 9f67123dc0d652cd7c8fab34a084b4e773630010 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "${root%%:*}" = "virtfs" ]; then
    modprobe 9pnet_virtio

    # shellcheck disable=SC2034
    rootok=1
fi