mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #1597 from arasyi/patch-1
Fix nickel doesn't recognize sdcard after exiting
This commit is contained in:
@@ -83,4 +83,9 @@ fi
|
||||
echo "${cur_rotate}" > "/sys/class/graphics/fb0/rotate"
|
||||
cat "/sys/class/graphics/fb0/rotate" > "/sys/class/graphics/fb0/rotate"
|
||||
|
||||
# Handle sdcard
|
||||
if [ -e "/dev/mmcblk1p1" ] ; then
|
||||
echo sd add /dev/mmcblk1p1 >> /tmp/nickel-hardware-status &
|
||||
fi
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user