mirror of
https://git.proxmox.com/git/systemd
synced 2026-02-05 21:07:55 +00:00
This reverts commit 355bf70599.
Before we can do this in Debian, we need to integrate ifup@.service into
network-online.target, like in Ubuntu:
http://launchpadlibrarian.net/195375040/ifupdown_0.7.48.1ubuntu5_0.7.48.1ubuntu6.diff.gz
15 lines
367 B
Desktop File
15 lines
367 B
Desktop File
[Unit]
|
|
Description=ifup for %I
|
|
After=local-fs.target network-pre.target networking.service
|
|
Before=network.target
|
|
BindsTo=sys-subsystem-net-devices-%i.device
|
|
ConditionPathIsDirectory=/run/network
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/sbin/ifup --allow=hotplug %I
|
|
ExecStartPost=/sbin/ifquery --state %I
|
|
ExecStop=/sbin/ifdown %I
|
|
RemainAfterExit=true
|