Skip to content

Commit 7980ce7

Browse files
Merge pull request #106 from Martinski4GitHub/dev
Update MerlinAU.sh
2 parents 147d48d + bb7237b commit 7980ce7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MerlinAU.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2324,8 +2324,10 @@ _UnmountUSBDrives_()
23242324
"$isInteractive" && \
23252325
printf "\nUnmounting USB-attached drives. Please wait...\n"
23262326

2327-
# Stop existing apps that may be using the USB drive #
2327+
# Stop existing apps & services that may be using the USB drive #
2328+
/sbin/service stop_samba >/dev/null 2>&1
23282329
/sbin/service stop_nasapps >/dev/null 2>&1
2330+
sleep 2
23292331

23302332
for theDevice in $mountedDevices
23312333
do umount -f "$theDevice" 2>/dev/null; sleep 2 ; done

0 commit comments

Comments
 (0)