okreader/files/okreader.sh
2017-04-04 00:42:33 +01:00

12 lines
184 B
Bash
Executable File

#!/bin/bash
echo 0 > /sys/class/leds/pmic_ledsg/brightness
export WIFI_MODULE=brcmfmac
PATH=/opt/koreader/bin:$PATH
cd /opt/koreader
while true; do
./luajit ./reader.lua /mnt
done