diff options
Diffstat (limited to 'projectroot/usr/lib/systemd/system/ifupdown.service')
-rw-r--r-- | projectroot/usr/lib/systemd/system/ifupdown.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/system/ifupdown.service b/projectroot/usr/lib/systemd/system/ifupdown.service new file mode 100644 index 000000000..f9dd5b473 --- /dev/null +++ b/projectroot/usr/lib/systemd/system/ifupdown.service @@ -0,0 +1,10 @@ +[Unit] +Description=Handle network interface with ifup/ifdown +Before=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/sbin/ifup -a +ExecStop=/sbin/ifdown -a + |