mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
external sources arg
This commit is contained in:
parent
7cfeddf82d
commit
4ebd0b605c
2 changed files with 6 additions and 3 deletions
|
|
@ -23,6 +23,8 @@ mount | grep '/sys' &> /dev/null || (mkdir -p /sys; mount -t sysfs sysfs /sys)
|
|||
mount | grep '/tmp' &> /dev/null || (mkdir -p /tmp; mount -t tmpfs tmpfs /tmp)
|
||||
mount | grep '/dev/shm' &> /dev/null || (mkdir -p /dev/shm; mount -t tmpfs tmpfs /dev/shm)
|
||||
|
||||
# Add /etc/resolv.conf
|
||||
echo 'nameserver 1.1.1.1' > /etc/resolv.conf
|
||||
echo 'nameserver 1.1.1.1' > /etc/resolv.conf.head
|
||||
if [ "${EXTERNAL_SOURCES}" = "False" ]; then
|
||||
# Add /etc/resolv.conf
|
||||
echo 'nameserver 1.1.1.1' > /etc/resolv.conf
|
||||
echo 'nameserver 1.1.1.1' > /etc/resolv.conf.head
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue