~ubuntu-branches/ubuntu/wily/open-iscsi/wily

« back to all changes in this revision

Viewing changes to debian/iscsi-network-interface.rules

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2015-06-11 11:58:29 UTC
  • Revision ID: package-import@ubuntu.com-20150611115829-m0pk39w28f2zkrhl
Tags: 2.0.873-3ubuntu12
* Drop debian/ifup@.service.conf again, it ceased to work with net.agent in
  wily and the whole idea of net-interface-handler is to *stop* ifupdown
  from fiddling with the iscsi interface. Replace with udev rules
  (debian/iscsi-network-interface.rules) which achieves this without relying
  on ifupdown or a particular init system. (LP: #1463461)
* Drop debian/open-iscsi.iscsi-network-interface.upstart as well, obsolete
  now. Also clean it up on upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# run before 80-networking.rules to run before ifupdown
 
2
SUBSYSTEM=="net", ACTION=="add", RUN+="/lib/open-iscsi/net-interface-handler start"
 
3
SUBSYSTEM=="net", ACTION=="remove", RUN+="/lib/open-iscsi/net-interface-handler stop"