mirror of
https://github.com/kairos-io/kcrypt.git
synced 2025-05-14 11:19:50 +00:00
16 lines
270 B
Bash
Executable File
16 lines
270 B
Bash
Executable File
#!/bin/sh
|
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
|
|
OEM=$(blkid -L COS_OEM)
|
|
if [ "$OEM" != "" ]; then
|
|
mkdir /oem
|
|
mount $OEM /oem
|
|
fi
|
|
|
|
kcrypt unlock-all
|
|
|
|
if [ "$OEM" != "" ]; then
|
|
umount /oem
|
|
fi
|