1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Netcfg networking service for profile %i 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