1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=(Re)store the netctl profile state Before=network.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=-/usr/bin/netctl restore ExecStop=/usr/bin/netctl store [Install] WantedBy=multi-user.target