Fix nickel doesn't recognize sdcard after exiting

After exiting koreader, nickel will not recognize that sdcard is present.
This patch fixes that
pull/1599/head
arasyi 9 years ago committed by Frans de Jonge
parent 2fe4f4082a
commit 7d87ffe8e8

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

Loading…
Cancel
Save