No, not equal
:~# systemctl cat sys-subsystem-net-devices-ens1f0.device No files found for sys-subsystem-net-devices-ens1f0.device.
:~# ifup ens1f0 ifup: interface ens1f0 already configured
:~# systemctl cat <email address hidden> # /lib/systemd/system/ifup@.service [Unit] Description=ifup for %I After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service Before=network.target shutdown.target network-online.target Conflicts=shutdown.target BindsTo=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device DefaultDependencies=no IgnoreOnIsolate=yes
[Service] # avoid stopping on shutdown via stopping system-ifup.slice Slice=system.slice ExecStart=/bin/sh -ec 'ifup --allow=hotplug %I; ifup --allow=auto %I; \ if ifquery %I >/dev/null; then ifquery --state %I >/dev/null; fi' ExecStop=/sbin/ifdown %I RemainAfterExit=true TimeoutStartSec=5min
No, not equal
:~# systemctl cat sys-subsystem- net-devices- ens1f0. device net-devices- ens1f0. device.
No files found for sys-subsystem-
:~# ifup ens1f0
ifup: interface ens1f0 already configured
:~# systemctl cat <email address hidden> system/ ifup@.service fs.target network-pre.target apparmor.service systemd- sysctl. service network. target shutdown.target network- online. target shutdown. target sys-subsystem- net-devices- %i.device subsystem- net-devices- %i.device cies=no
# /lib/systemd/
[Unit]
Description=ifup for %I
After=local-
Before=
Conflicts=
BindsTo=
After=sys-
DefaultDependen
IgnoreOnIsolate=yes
[Service] /sbin/ifdown %I =true =5min
# avoid stopping on shutdown via stopping system-ifup.slice
Slice=system.slice
ExecStart=/bin/sh -ec 'ifup --allow=hotplug %I; ifup --allow=auto %I; \
if ifquery %I >/dev/null; then ifquery --state %I >/dev/null; fi'
ExecStop=
RemainAfterExit
TimeoutStartSec