initrd-network.service

This unit is provided by:

Options

  • [Install]
  • [Service]
    • ExecStart=/bin/true /bin/sh -c "echo '%N: enable network devices'" /bin/sh -c "for dev in $(ls /sys/class/net) ; do ip link set $dev up ; done"
    • ExecStop=/bin/sh -c "echo '%N: disable network devices'" /bin/sh -c "for dev in $(ls /sys/class/net) ; do ip addr flush $dev ; done" /bin/sh -c "for dev in $(ls /sys/class/net) ; do ip link set $dev down ; done"
    • RemainAfterExit=yes
    • Type=oneshot
  • [Unit]
  • [X-SystemdTool]
    • InitrdBinary=/usr/lib/libnss_dns.so.2 optional=yes
    • InitrdCall=add_checked_modules /drivers/net/
    • InitrdLink=/etc/resolv.conf target=/run/systemd/resolve/resolv.conf
    • InitrdPath=/etc/systemd/network/initrd-network.network source=/etc/mkinitcpio-systemd-tool/network/initrd-network.network /etc/hostname replace=yes optional=yes /usr/lib/systemd/resolv.conf /var/tmp/ create=yes

Additionnal notes

Nothing here.