Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GNU/Linux user-land on top of Android
#11
I added the following to my .bashrc in termux to make getting into linux easier.

linux() {
su -c "/data/data/ru.meefik.linuxdeploy/bin/linuxdeploy shell -u gemini"
}

I also edited /data/data/ru.meefik.linuxdeploy/env/include/core/net/deploy.sh

### insert this bit
echo "cleanup symlink resolver"
test -L "${CHROOT_DIR}/etc/resolv.conf" && rm "${CHROOT_DIR}/etc/resolv.conf"
### before this line
printf '' > "${CHROOT_DIR}/etc/resolv.conf"
for dns in ${dns_list}
do
echo "nameserver ${dns}" >> "${CHROOT_DIR}/etc/resolv.conf"
done

which allows the system to update the resolv.conf so that it can use DNS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)