~peter-pearse/ubuntu/natty/ifupdown/prop001

« back to all changes in this revision

Viewing changes to debian/ifupdown.upstart.if-up

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2009-09-15 03:30:29 UTC
  • Revision ID: james.westby@ubuntu.com-20090915033029-51hx9bami2jqtvcv
Tags: 0.6.8ubuntu20
FFE LP: #427356.

* Replace the udev rule with a per-interface Upstart job.
* Add a "networking" job that partially replaces the networking init
  script from netbase.
* debian/control:
  - Bump build-dependency on debhelper for Upstart-aware dh_installinit
  - Add missing ${misc:Depends}

* Add if-up and if-down scripts to emit Upstart events when interfaces
  come up and go down.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
initctl emit net-device-up \
 
6
        "IFACE=$IFACE" \
 
7
        "LOGICAL=$LOGICAL" \
 
8
        "ADDRFAM=$ADDRFAM" \
 
9
        "METHOD=$METHOD"