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

« back to all changes in this revision

Viewing changes to debian/open-iscsi.iscsi-network-interface.upstart

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2011-10-11 22:31:39 UTC
  • mfrom: (4.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20111011223139-non2femcqgsttwbm
Tags: 2.0.871-0ubuntu9
Make sure the upstart job triggers ifupdown's upstart script to avoid
waiting 2 minutes at boot time for network to come up. (LP: #870214)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        mkdir -p /run/network
21
21
        echo "$iface=$iface" >>/run/network/ifstate
22
22
    fi
 
23
    if [ -x /etc/network/if-up.d/upstart ]; then
 
24
        IFACE=$iface LOGICAL=$iface ADDRFAM=inet METHOD=manual /etc/network/if-up.d/upstart
 
25
    fi
23
26
end script
24
27
 
25
28
post-stop script