#!/bin/bash # This allows you to still use Windows/Flatpaks even while using a NAS. case "$1" in start) mkdir -p /media/SHARE/saves/flatpak mount --bind /media/SHARE/saves/flatpak /userdata/saves/flatpak mkdir -p /media/SHARE/saves/windows mount --bind /media/SHARE/saves/windows /userdata/saves/windows mkdir -p /media/SHARE/roms/windows mount --bind /media/SHARE/roms/windows /userdata/roms/windows ;; esac exit $?