dotfiles/OLD/configs/autofs-witcher3/etc/autofs/auto.witcher3
2020-04-08 02:07:43 +02:00

15 lines
467 B
Bash

#!/bin/bash
KEY="${1}"
echo "${KEY}" >> /tmp/log.autofs
if [ "${KEY}" == "/mnt/data/SteamLibrary/steamapps/common/The Witcher 3 - overlayfs/merged" ]; then
cd '/mnt/data/SteamLibrary/steamapps/common/The Witcher 3 - overlayfs'
OPTIONS="`'/mnt/data/SteamLibrary/steamapps/common/The Witcher 3 - overlayfs/get-options.bash'`"
echo "-fstype=auto,${OPTIONS} overlayfs:/mnt/data/SteamLibrary/steamapps/common/The Witcher 3 - overlayfs/merged"
fi