Files
DanceVideos/trigger/onSD_DANSEMount.sh
2025-10-10 14:07:59 +02:00

7 lines
155 B
Bash
Executable File

#! /bin/bash
set -eux
if [ -d '/Volumes/SD_DANSE/' ]; then
echo "`date` mounted SD Dance" >> /tmp/foo
else
echo "`date` unmounted SD Dance" >> /tmp/foo
fi