Frans de Jonge
e8c01274f4
Travis: enforce shellscript coding style
...
* enormous coding style update
* update luajit-launcher
All changes are formatting only except for:
* new more correct pushd/popd style
* keeps useful indentation
* prevents execution of commands when pushd failed (cf. https://github.com/koalaman/shellcheck/wiki/SC2164 and https://github.com/koalaman/shellcheck/issues/863 )
```
pushd some_dir && {
command1
command2
} || exit
popd
```
2017-04-11 15:30:23 +02:00
Frans de Jonge
e5bcdee85e
Add ShellCheck and shfmt shell code quality analysis ( #2712 )
...
* Add ShellCheck and shfmt shell code quality analysis
* kobo/koreader.sh: remove useless $PREFIX
* kobo/koreader.sh: fix rotation issue caused by #2731
* Travis: speed up (caching Luarocks should shave a minute off install process)
2017-04-09 10:42:16 +02:00
Hzj_jie
da2c57f93a
Automatically connect WIFI after Kobo has been resumed ( #2215 )
...
* Add bash scripts to control WIFI / IP, so we can share them with frontend/device/kobo/device.lua.
* add test cases
2016-09-01 00:05:40 -07:00
NiLuJe
0f184e30ed
Tweak nickel restart script
...
Also restart sickel...
2016-07-31 18:13:16 +02:00
NiLuJe
687aba796d
Fix networkmgr on Kobo
...
To avoid potential issues with USBMS.
Namely, make sure CWD doesn't point to the userstore for persitent
processes.
Make sure wpa_supplicant doesn't try to use our own OpenSSL lib, which,
again, is in the userstore area.
Properly kill our dhcp client invocation on when killing WiFi
Also, some related fixes to the startup script:
Properly kill wpa_supplicant & the dhcp client when we kill
wifi before rebooting to nickel.
2015-09-04 23:14:17 +02:00
arasyi
d3bc8ecb5f
Fix nickel doesn't recognize sdcard after exiting
...
After exiting koreader, nickel will not recognize that sdcard is present.
This patch fixes that
2015-08-23 18:33:34 +07:00
NiLuJe
34cb799818
Fix nickel restart with WiFi up.
...
By killing the WiFi first, since apparently,
nickel really doesn't like that, and causes a deadlock.
re #1503 , re #1504 , fix #1520
2015-05-06 16:53:17 +02:00
NiLuJe
85445b12f1
Guess what? More comments ^^.
2015-04-27 13:04:52 +02:00
NiLuJe
da891ca335
And comment that, because I'm likely to forget.
2015-04-27 02:40:17 +02:00
NiLuJe
7fd45c6cd3
And even more Kobo startup script tweaks.
...
Good news: restarting nickel doesn't deadlock anymore. Yay.
2015-04-27 01:59:50 +02:00
NiLuJe
218d8b3e54
More comments...
2015-04-27 01:24:24 +02:00
NiLuJe
7db252a27e
More Kobo startup scripts tweaks...
2015-04-27 01:21:54 +02:00
NiLuJe
d4f80209d9
Minor comment tweak
2015-04-27 00:01:44 +02:00
NiLuJe
6c1681b595
Well, go for the lesser evil.
...
For some unknowable reason, restarting nickel on exit deadlocks on my
H2O, so, do a full reboot instead, at least *that* works.
I'm probably one of the only people running KO manually anyway...
2015-04-26 22:46:16 +02:00
NiLuJe
c2bd85bba4
More Kobo scripts tweak...
...
Trying to figure out why nickel deadlocks on restart...
2015-04-26 22:09:14 +02:00
NiLuJe
6f815e2bdf
Minor pass of cleanup of the Kobo scripts.
...
re #1503
2015-04-26 20:46:30 +02:00
chrox
2d3c502948
move platform dependent files into 'platform' directory
2014-10-03 18:02:50 +08:00