Skip to content

Commit

Permalink
Fix reset emmc script
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Apr 2, 2018
1 parent 1d02721 commit 1b83203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/root/usr/local/sbin/rock64_reset_emmc.sh
@@ -1,6 +1,6 @@
#!/bin/bash

if [[ "$1" != "--force" ]]; the
if [[ "$1" != "--force" ]]; then
MNT_DEV=$(findmnt / -n -o SOURCE)
if [[ "$MNT_DEV" == /dev/mmcblk0* ]]; then
echo "Cannot reset when running from eMMC, use: $0 --force."
Expand Down

0 comments on commit 1b83203

Please sign in to comment.