Fix nickel doesn't recognize sdcard after exiting

After exiting koreader, nickel will not recognize that sdcard is present.
This patch fixes that
This commit is contained in:
arasyi
2015-08-23 18:33:34 +07:00
parent 51e8dee425
commit d3bc8ecb5f

View File

@@ -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