~ubuntu-branches/ubuntu/oneiric/netbase/oneiric

« back to all changes in this revision

Viewing changes to debian/netbase.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2009-09-15 03:27:40 UTC
  • Revision ID: james.westby@ubuntu.com-20090915032740-38437egxzfnx8f3y
Tags: 4.35ubuntu2
FFE LP: #427356.

* debian/netbase.init:
  - Replace the "start" command with a call to upstart-job
* debian/control:
  - Depend on upstart-job
* debian/netbase.postinst:
  - Remove old start symlinks on upgrade
  - Only install symlinks for runlevel 0 and 6

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
}
24
24
 
25
25
update_rc() {
26
 
  update-rc.d networking start 40 S . start 35 0 6 . > /dev/null
 
26
  if dpkg --compare-versions "$2" lt "4.35ubuntu2~boot1"; then
 
27
    update-rc.d -f networking remove >/dev/null
 
28
  fi
 
29
  update-rc.d networking start 35 0 6 . > /dev/null
27
30
}
28
31
 
29
32
create_networks() {