initital upload
This commit is contained in:
12
crypto
Executable file
12
crypto
Executable 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
|
||||
Reference in New Issue
Block a user