1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Netcfg profile based networking service Before=network.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/netcfg check-iface %i ExecStop=-/usr/bin/netcfg down %i [Install] WantedBy=multi-user.target