Files
homelab-scripts/encfs-fstab
2018-02-22 15:39:10 -05:00

8 lines
263 B
Bash

#!/bin/bash
# Example line in /etc/fstab
# /opt/encfs-fstab#/mnt/.enc /mnt/enc fuse allow_other 0 0
ENCFS_CONFIG="/root/.credentials/.encfs6.xml"
ENCFS_PASS="/root/.credentials/encfs.creds"
<"$ENCFS_PASS" ENCFS6_CONFIG="$ENCFS_CONFIG" encfs -S -o allow_other $*