termux-packages/packages/termux-tools/termux-reload-settings
Fredrik Fornwall 8353c56c0b Modify setup in wrappers for /system/bin/ commands
On several devices several tools in /system/bin/ requires
LD_LIBRARY_PATH to contain /system/lib(64). Check for the bit-ness
with `getprop ro.product.cpu.abilist64`  and setup the environment
accordingly.

Closes #193.
Closes #206.
2016-04-10 20:20:17 -04:00

13 lines
408 B
Bash
Executable File

#!/data/data/com.termux/files/usr/bin/sh
if [ "$#" != "0" ]; then
echo 'usage: termux-reload-settings'
echo 'Use without arguments to reload settings after modifying either of:'
echo ' ~/.termux/colors.properties'
echo ' ~/.termux/font.ttf '
echo ' ~/.config/termux/termux.properties'
exit
fi
am broadcast --user 0 -a com.termux.app.reload_style com.termux > /dev/null