mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
update homepage
This commit is contained in:
parent
f364bb107c
commit
b68b6acf81
1 changed files with 5 additions and 5 deletions
|
@ -406,7 +406,7 @@ _new_environment() {
|
||||||
cp /etc/locale.gen "${_W_DIR}"/tmp/etc
|
cp /etc/locale.gen "${_W_DIR}"/tmp/etc
|
||||||
cp /etc/locale.conf "${_W_DIR}"/tmp/etc
|
cp /etc/locale.conf "${_W_DIR}"/tmp/etc
|
||||||
cp /.localize "${_W_DIR}"/tmp/
|
cp /.localize "${_W_DIR}"/tmp/
|
||||||
${_NSPAWN} "${_W_DIR}" /bin/bash -c "locale-gen"
|
${_NSPAWN} "${_W_DIR}"/tmp /bin/bash -c "locale-gen"
|
||||||
fi
|
fi
|
||||||
if [[ -e '/.vconsole' ]]; then
|
if [[ -e '/.vconsole' ]]; then
|
||||||
cp /etc/vconsole "${_W_DIR}"/tmp/etc
|
cp /etc/vconsole "${_W_DIR}"/tmp/etc
|
||||||
|
@ -414,15 +414,15 @@ _new_environment() {
|
||||||
fi
|
fi
|
||||||
if [[ -e '/.clock' ]]; then
|
if [[ -e '/.clock' ]]; then
|
||||||
cp -a /etc/{adjtime,localtime} "${_W_DIR}"/tmp/etc
|
cp -a /etc/{adjtime,localtime} "${_W_DIR}"/tmp/etc
|
||||||
${_NSPAWN} "${_W_DIR}" /bin/bash -c "systemctl enable systemd-timesyncd.service;timedatectl set-ntp 1"
|
${_NSPAWN} "${_W_DIR}"/tmp /bin/bash -c "systemctl enable systemd-timesyncd.service;timedatectl set-ntp 1"
|
||||||
cp /.vconsole "${_W_DIR}"/tmp/
|
cp /.vconsole "${_W_DIR}"/tmp/
|
||||||
fi
|
fi
|
||||||
if [[ -e '/.network' ]]; then
|
if [[ -e '/.network' ]]; then
|
||||||
cp -r /var/lib/iwd "${_W_DIR}"/tmp/var/lib
|
cp -r /var/lib/iwd "${_W_DIR}"/tmp/var/lib
|
||||||
${_NSPAWN} "${_W_DIR}" /bin/bash -c "systemctl enable iwd"
|
${_NSPAWN} "${_W_DIR}"/tmp /bin/bash -c "systemctl enable iwd"
|
||||||
cp /etc/systemd/network/* "${_W_DIR}"/tmp//etc/systemd/network/
|
cp /etc/systemd/network/* "${_W_DIR}"/tmp//etc/systemd/network/
|
||||||
${_NSPAWN} "${_W_DIR}" /bin/bash -c "systemctl enable systemd-networkd"
|
${_NSPAWN} "${_W_DIR}"/tmp /bin/bash -c "systemctl enable systemd-networkd"
|
||||||
${_NSPAWN} "${_W_DIR}" /bin/bash -c "systemctl enable systemd-resolved"
|
${_NSPAWN} "${_W_DIR}"/tmp /bin/bash -c "systemctl enable systemd-resolved"
|
||||||
rm "${_W_DIR}"/tmp/etc/systemd/network/10-wired-auto-dhcp.network
|
rm "${_W_DIR}"/tmp/etc/systemd/network/10-wired-auto-dhcp.network
|
||||||
[[ -e '/etc/profile.d/proxy.sh' ]] && cp /etc/profile.d/proxy.sh "${_W_DIR}"/tmp/etc/profile.d/proxy.sh
|
[[ -e '/etc/profile.d/proxy.sh' ]] && cp /etc/profile.d/proxy.sh "${_W_DIR}"/tmp/etc/profile.d/proxy.sh
|
||||||
cp /.network "${_W_DIR}"/tmp/
|
cp /.network "${_W_DIR}"/tmp/
|
||||||
|
|
Loading…
Reference in a new issue