coffin

secure lan file storage on a device
git clone git://parazyd.org/coffin.git
Log | Files | Refs | Submodules | README | LICENSE

commit 8987dce7dea1e2ccdc50427cfa5a37aaef6cf7b7
parent 4ea2ed3d1e812aed5e82b9b084ed9618b76a3c7b
Author: parazyd <parazyd@dyne.org>
Date:   Fri,  5 Feb 2016 16:56:42 +0100

add command to list possible devices for webadmin

Diffstat:
Mbin/sacrist | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/sacrist b/bin/sacrist @@ -22,6 +22,9 @@ echo "Device UUID is: $keyuuid" echo "I am $happenz" # end debugs +# echo partitions to file for webadmin +lsblk -npl | awk -F" " '{print $1}' | grep ^/dev/sd.. > /home/parazyd/devel/tombox/web/devs + _mountkey() { mkdir -p $keymount mount $device $keymount @@ -67,7 +70,7 @@ if [[ $happenz == "CREATE" ]]; then cp $tmptombs $temptombs grep -v "$keyhash" $temptombs > $tmptombs; _msg info "Put stuff in $tmptombs" rm $temptombs - umount $keymount; rmdir $keymount; _msg info "Unmounted usb" + umount $keymount; rmdir $keymount; _msg info "Unmounted usb" elif [[ $happenz == "open" ]]; then _msg info "Comparekey false" _get_ttab