diff options
author | Himbeer <himbeerserverde@gmail.com> | 2024-03-05 12:34:28 +0100 |
---|---|---|
committer | Himbeer <himbeerserverde@gmail.com> | 2024-03-05 12:34:28 +0100 |
commit | 9bf73b77b8f29d0c79c13ab4ac60dc511e6972d1 (patch) | |
tree | 07339d5a17afd08a6d878fac569e06190c157ac2 | |
parent | 1b9b643cfc1de35f5dbd30087745ab24aeec6996 (diff) |
install openrc companion packages for dhcpcd and wpa_supplicant
Allows standalone DHCPCD to be configured instead of using it with netifrc. Can significantly shorten boot time without dangling sockets making service restarts fail or network-dependent services not starting even if only one of the interfaces fails to start / is down.
-rwxr-xr-x | artixinstall | 3 | ||||
-rwxr-xr-x | cryptinstall | 3 | ||||
-rwxr-xr-x | cryptuefiinstall | 3 | ||||
-rwxr-xr-x | mkartix | 2 | ||||
-rwxr-xr-x | mkcryptartix | 2 | ||||
-rwxr-xr-x | mkcryptuefi | 2 | ||||
-rwxr-xr-x | mkuefi | 2 | ||||
-rwxr-xr-x | uefiinstall | 3 |
8 files changed, 12 insertions, 8 deletions
diff --git a/artixinstall b/artixinstall index 5b099a7..2d79dde 100755 --- a/artixinstall +++ b/artixinstall @@ -67,5 +67,6 @@ umount -R /mnt echo -e "\n\e[1m\e[1;32mArtix has been successfully installed! It is now safe to reboot." echo -e "\e[1m\e[1;32mDon't forget to change the root password and hostname." -echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed." +echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed" +echo -e "\e[1m\e[1;32mincluding their OpenRC companion packages." echo -en "\e[0m" diff --git a/cryptinstall b/cryptinstall index ec5d09b..5eff1fc 100755 --- a/cryptinstall +++ b/cryptinstall @@ -84,7 +84,8 @@ cryptsetup -q close root_crypt echo -e "\n\e[1m\e[1;32mArtix has been successfully installed! It is now safe to reboot." echo -e "\e[1m\e[1;32mDon't forget to change the root password, disk passwords and hostname." -echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed." +echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed" +echo -e "\e[1m\e[1;32mincluding their OpenRC companion packages." echo -e "\n\e[1m\e[1;32mRun the following commands to change the disk passwords:" echo -e "\e[1m\e[1;32m\t# cryptsetup --pbkdf pbkdf2 luksChangeKey ${PART_PREFIX}1" echo -e "\e[1m\e[1;32m\t# cryptsetup luksChangeKey ${PART_PREFIX}2" diff --git a/cryptuefiinstall b/cryptuefiinstall index 4f791d2..3ee1138 100755 --- a/cryptuefiinstall +++ b/cryptuefiinstall @@ -71,7 +71,8 @@ cryptsetup -q close data_crypt echo -e "\n\e[1m\e[1;32mArtix has been successfully installed! It is now safe to reboot." echo -e "\e[1m\e[1;32mDon't forget to change the root password, disk password and hostname." -echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed." +echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed" +echo -e "\e[1m\e[1;32mincluding their OpenRC companion packages." echo -e "\n\e[1m\e[1;32mRun the following command to change the disk password:" echo -e "\e[1m\e[1;32m\t# cryptsetup luksChangeKey ${PART_PREFIX}2" echo -e "\n\e[1m\e[1;32mYour keyboard layout is preserved in the initramfs stage." @@ -58,7 +58,7 @@ EOT sed -i 's/hostname="localhost"/hostname="artix"/' /etc/conf.d/hostname ## Networking essentials -pacman -S --noconfirm dhcpcd wpa_supplicant +pacman -S --noconfirm dhcpcd-openrc wpa_supplicant-openrc # Repositories ## Artix diff --git a/mkcryptartix b/mkcryptartix index 5905415..7270bc5 100755 --- a/mkcryptartix +++ b/mkcryptartix @@ -104,7 +104,7 @@ EOT sed -i 's/hostname="localhost"/hostname="artix"/' /etc/conf.d/hostname ## Networking essentials -pacman -S --noconfirm dhcpcd wpa_supplicant +pacman -S --noconfirm dhcpcd-openrc wpa_supplicant-openrc # Repositories ## Artix diff --git a/mkcryptuefi b/mkcryptuefi index 8f7c091..efc97e3 100755 --- a/mkcryptuefi +++ b/mkcryptuefi @@ -84,7 +84,7 @@ EOT sed -i 's/hostname="localhost"/hostname="artix"/' /etc/conf.d/hostname ## Networking essentials -pacman -S --noconfirm dhcpcd wpa_supplicant +pacman -S --noconfirm dhcpcd-openrc wpa_supplicant-openrc # Repositories ## Artix @@ -81,7 +81,7 @@ EOT sed -i 's/hostname="localhost"/hostname="artix"/' /etc/conf.d/hostname ## Networking essentials -pacman -S --noconfirm dhcpcd wpa_supplicant +pacman -S --noconfirm dhcpcd-openrc wpa_supplicant-openrc # Repositories ## Artix diff --git a/uefiinstall b/uefiinstall index 5da8610..ee934ae 100755 --- a/uefiinstall +++ b/uefiinstall @@ -58,5 +58,6 @@ umount -R /mnt echo -e "\n\e[1m\e[1;32mArtix has been successfully installed! It is now safe to reboot." echo -e "\e[1m\e[1;32mDon't forget to change the root password and hostname." -echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed." +echo -e "\e[1m\e[1;32mSetting up networking is left to you, dhcpcd and wpa_supplicant are installed" +echo -e "\e[1m\e[1;32mincluding their OpenRC companion packages." echo -en "\e[0m" |