313 current 2025-02-09 03:08:44 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-02-09 03:08:57 -05:00
parent 1738775517
commit e6857648cf
3 changed files with 27 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/bash
MOUNT_POINT="/home/synchronous/android_phone"
# Check if mount point exists, if not, create it
if [ ! -d "$MOUNT_POINT" ]; then
mkdir -p "$MOUNT_POINT"
fi
simple-mtpfs $MOUNT_POINT
if mountpoint -q "$MOUNT_POINT"; then
echo "Mount was successful."
else
echo ""
echo "Accept the phone prompt!"
sleep 5
simple-mtpfs $MOUNT_POINT
fi

View File

@@ -0,0 +1,5 @@
#!/bin/bash
MOUNT_POINT="/home/synchronous/android_phone"
fusermount -u $MOUNT_POINT
rm -rf $MOUNT_POINT