| Date: Fri, 5 Feb 2016 16:56:42 +0100
add command to list possible devices for webadmin
Diffstat:
M bin/sacrist | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- |
| t@@ -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
t@@ -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 |