11 lines
228 B
Bash
11 lines
228 B
Bash
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Decrypt and mount the disks after a fresh reboot.
|
||
|
set -euo pipefail
|
||
|
IFS=$'\n\t'
|
||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||
|
|
||
|
zfs load-key -r zmass/encrypted
|
||
|
zfs mount -a
|
||
|
service bemount start
|