aboutsummaryrefslogtreecommitdiffstats
path: root/zfs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xzfs/export.sh3
-rwxr-xr-xzfs/import.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/zfs/export.sh b/zfs/export.sh
index 7110d69..b9b2c18 100755
--- a/zfs/export.sh
+++ b/zfs/export.sh
@@ -1,3 +1,4 @@
-#/bin/sh
+#!/bin/sh
+
sudo umount -n /mnt/{dev/pts,dev,sys,proc}
sudo zpool export zroot
diff --git a/zfs/import.sh b/zfs/import.sh
index 4181aa9..25efb71 100755
--- a/zfs/import.sh
+++ b/zfs/import.sh
@@ -1,4 +1,4 @@
-#/bin/sh
+#!/bin/sh
sudo zpool import -N -R /mnt zroot
sudo zfs load-key -L prompt zroot