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:
1 parent
51e8dee425
commit
d3bc8ecb5f
1 file changed
+5
@@ -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