From 00312e004f7fa0bfe077708818b030890a1a63d9 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 4 Jun 2022 08:29:21 +0430 Subject: updates --- zfs/export.sh | 3 ++- zfs/import.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'zfs') 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 -- cgit v1.2.3