This unit is provided by:
Options
-
[Install]
-
WantedBy=sysinit.target
-
-
[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]
-
Before=cryptsetup-pre.target
-
ConditionPathExists=/etc/initrd-release
-
DefaultDependencies=no
-
Description=Initrd Network Service
-
Documentation=https://github.com/random-archer/mkinitcpio-systemd-tool/blob/master/README.md
-
Requires=systemd-networkd.service systemd-resolved.service
-
-
[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.