|
|
@ -10,10 +10,6 @@ export TESSDATA_PREFIX="data"
|
|
|
|
# export dict directory
|
|
|
|
# export dict directory
|
|
|
|
export STARDICT_DATA_DIR="data/dict"
|
|
|
|
export STARDICT_DATA_DIR="data/dict"
|
|
|
|
|
|
|
|
|
|
|
|
# accept input ports for zsync plugin
|
|
|
|
|
|
|
|
iptables -A INPUT -i wlan0 -p udp --dport 5670 -j ACCEPT
|
|
|
|
|
|
|
|
iptables -A INPUT -i wlan0 -p tcp --dport 49152:49162 -j ACCEPT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# exit from nickel
|
|
|
|
# exit from nickel
|
|
|
|
killall nickel
|
|
|
|
killall nickel
|
|
|
|
killall hindenburg
|
|
|
|
killall hindenburg
|
|
|
@ -21,9 +17,5 @@ killall hindenburg
|
|
|
|
# finally call the launcher
|
|
|
|
# finally call the launcher
|
|
|
|
./reader.lua /mnt/onboard 2> crash.log
|
|
|
|
./reader.lua /mnt/onboard 2> crash.log
|
|
|
|
|
|
|
|
|
|
|
|
# restore firewall rules
|
|
|
|
|
|
|
|
iptables -D INPUT -i wlan0 -p udp --dport 5670 -j ACCEPT
|
|
|
|
|
|
|
|
iptables -D INPUT -i wlan0 -p tcp --dport 49152:49162 -j ACCEPT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# back to nickel
|
|
|
|
# back to nickel
|
|
|
|
./nickel.sh
|
|
|
|
./nickel.sh
|
|
|
|