File tree Expand file tree Collapse file tree
core/main/src/main/assets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ if [ -z "$(ls -A "$ALPINE_DIR" | grep -vE '^(root|tmp)$')" ]; then
66 tar -xf " $PREFIX /files/alpine.tar.gz" -C " $ALPINE_DIR "
77fi
88
9- if [ ! -s $ALPINE_DIR /etc/resolv.conf ]; then
10- echo " nameserver 8.8.8.8" > /etc/resolv.conf
11- fi
12-
139[ ! -e " $PREFIX /local/bin/proot" ] && cp " $PREFIX /files/proot" " $PREFIX /local/bin"
1410
1511for sofile in " $PREFIX /files/" * .so.2; do
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ set -e # Exit immediately on Failure
22
33export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/share/bin:/usr/share/sbin:/usr/local/bin:/usr/local/sbin:/system/bin:/system/xbin
44export HOME=/root
5+
6+ if [ ! -s /etc/resolv.conf ]; then
7+ echo " nameserver 8.8.8.8" > /etc/resolv.conf
8+ fi
9+
10+
511cd " $XPWD "
612export PS1=" \[\e[38;5;46m\]\u\[\033[39m\]@karbon \[\033[39m\]\w \[\033[0m\]\\ $ "
713# shellcheck disable=SC2034
You can’t perform that action at this time.
0 commit comments