On Sat, Oct 8, 2011 at 11:09 AM, Cliff Brake <cliff.br...@gmail.com> wrote: >> and a service file like this: >> >> cat networl@.service: >> [Service] >> Type=oneshot >> RemainAfterExit=yes >> ExecStart=/sbin/ifup %i >> ExecStop=/sbin/ifdown %i >> StandardOutput=syslog+console > > I'm still not successfull in getting ifup to run on boot (after the > NIC is detected) or on NIC insertion.
This is actually working for me now on bootup, or first NIC insertion. I'm not sure what I did wrong earlier -- perhaps missed reloading the systemd config files or something ... However, it does not work for subsequent NIC insertions. It appears that stop is not getting executed when the device is removed, as network@eth0.service is always listed as active after the NIC is installed, and then removed. Cliff -- ================= http://bec-systems.com _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel