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