mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove dhcpcd usage switch to systemd-networkd
This commit is contained in:
parent
97da62b7ce
commit
4e0357ca93
3 changed files with 7 additions and 11 deletions
|
@ -4,15 +4,9 @@
|
|||
build ()
|
||||
{
|
||||
add_checked_modules -f 'nfp' -f 'liquidio' -f 'mellanox' -f 'wireless' -f 'bnx2x' -f 'bna' -f 'softing_cs' -f 'qed' '/drivers/net/'
|
||||
map add_binary route ip dhcpcd
|
||||
add_full_dir "/usr/lib/dhcpcd"
|
||||
map add_binary route ip
|
||||
# start dhcpcd on startup
|
||||
add_symlink "/etc/systemd/system/multi-user.target.wants/dhcpcd.service" "/usr/lib/systemd/system/dhcpcd.service"
|
||||
add_file "/usr/share/archboot/net/etc/system/dhcpcd@.service.d/no-wait.conf" "/etc/system/dhcpcd@.service.d/no-wait.conf"
|
||||
add_file "/etc/dhcpcd.conf"
|
||||
add_dir "/var/lib/dhcpcd"
|
||||
# fixing licenses
|
||||
add_file "/usr/share/licenses/dhcpcd/LICENSE"
|
||||
add_symlink "/etc/systemd/system/multi-user.target.wants/systemd-networkd.service" "/usr/lib/systemd/system/systemd-networkd.service"
|
||||
}
|
||||
|
||||
help ()
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/dhcpcd -b -q %I
|
|
@ -0,0 +1,5 @@
|
|||
# Archboot autostart dhcp on wired devices
|
||||
[Match]
|
||||
Name=en*
|
||||
[Network]
|
||||
DHCP=yes
|
Loading…
Reference in a new issue