Skip to content

Commit

Permalink
Merge pull request HclX#130 from pygmymarmoset/check_nfs_fix
Browse files Browse the repository at this point in the history
replacing df with ls for nfs check
  • Loading branch information
HclX authored Jul 11, 2021
2 parents ee85949 + 2051a6d commit 1a1428f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wyze_hack/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ check_nfs() {
TIMEOUT_ARGS="$NFS_TIMEOUT"
fi

if ! timeout $TIMEOUT_ARGS df /media/mmcblk0p1 > /dev/null 2>&1;
if ! timeout $TIMEOUT_ARGS ls /media/mmcblk0p1 > /dev/null 2>&1;
then
echo "WyzeHack: NFS no longer mounted as /media/mmcblk0p1"
return 1
Expand Down

0 comments on commit 1a1428f

Please sign in to comment.