initital upload

This commit is contained in:
2018-11-20 09:38:08 +01:00
commit 60dd031fa6
14 changed files with 242 additions and 0 deletions

12
crypto Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
sleep 2
case $1 in
start) gocryptfs -passfile /root/enc-pwd /mnt/G-Cache/Video /mnt/Video;
gocryptfs -passfile /root/enc-pwd /crypt/output /crypt/input;
unionfs -o cow /crypt/input=RW:/mnt/Video=RO /Video;;
stop) umount /Video;
umount /crypt/input;
umount /mnt/Video;;
esac