Consolidates the Termux SMS server code (previously in a separate campaign_connector git submodule) into termux-sms/ at repo root. Updates phone clone commands to use sparse checkout so only the termux-sms/ directory is downloaded onto the Android device. Bunker Admin
17 lines
514 B
Bash
17 lines
514 B
Bash
#!/data/data/com.termux/files/usr/bin/bash
|
|
#
|
|
# Termux:Boot startup script
|
|
# Install: cp this to ~/.termux/boot/start-sms-server
|
|
# Requires: Termux:Boot app from F-Droid
|
|
#
|
|
|
|
# Prevent Android from killing background processes
|
|
termux-wake-lock
|
|
|
|
# Source env (API key, PATH, etc.)
|
|
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
|
|
|
# Source runit helpers — this starts the runit supervisor
|
|
# which automatically picks up all services in $PREFIX/var/service/
|
|
. "$PREFIX/etc/profile.d/start-services.sh" 2>/dev/null || true
|