automate/001_apt-group.sh

9 lines
458 B
Bash
Executable File

#!/usr/bin/env bash
echo "This script is intended for debian running on android environments."
# APT NOT RESOLVING DNS:
# In debian/apt there is a new (2016) _apt user that handles getting updates.
# On Android with paranoid network, only users in group 3003 aid_inet or 3004 aid_inet_raw can open network sockets.
# It needs to be added to Android's INET group so that it can access the network
# in a chroot environment on android.
#usermod -g 3003 _apt