mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I5d84f0cde2123c25f3cbd30c6f500cabaaeac2a9
14 lines
259 B
Bash
Executable File
14 lines
259 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p $(dirname $(realpath -m /etc/resolv.conf))
|
|
|
|
cat>/etc/resolv.conf<<__EOF
|
|
nameserver 127.0.0.53
|
|
__EOF
|
|
|
|
if [ ! "x@@DEFAULT_LINUXFACTORY@@" = "x" ]; then
|
|
echo "@@DEFAULT_LINUXFACTORY@@ ppa.linuxfactory.or.kr" >> /etc/hosts
|
|
fi
|
|
|
|
cat /etc/hosts
|