aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/initramfs/conf.d/zfs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/initramfs/conf.d/zfs')
-rw-r--r--contrib/initramfs/conf.d/zfs8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/initramfs/conf.d/zfs b/contrib/initramfs/conf.d/zfs
new file mode 100644
index 000000000..c67d75ba8
--- /dev/null
+++ b/contrib/initramfs/conf.d/zfs
@@ -0,0 +1,8 @@
+for x in $(cat /proc/cmdline)
+do
+ case $x in
+ root=ZFS=*|root=zfs:*)
+ BOOT=zfs
+ ;;
+ esac
+done