diff options
Diffstat (limited to '')
-rwxr-xr-x | zfs/export.sh | 3 | ||||
-rwxr-xr-x | zfs/import.sh | 2 |
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 |