~ubuntu-branches/debian/experimental/sysvinit/experimental

« back to all changes in this revision

Viewing changes to debian/sysv-rc/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Petter Reinholdtsen
  • Date: 2008-08-12 16:07:50 UTC
  • Revision ID: james.westby@ubuntu.com-20080812160750-65gpyv74vh4qr69w
Tags: 2.86.ds1-61
* Fix typo in rcS(5), proberly->properly (Closes: #484233).  Thanks to
  Julien Danjou for noticing.
* Fix typo in rcS(5), maually->manually (Closes: #493680).  Thanks to
  Xr for noticing.
* Modify runlevel detection code in invoke-rc.d to notice the
  difference between runlevels 0 and 6, and the boot runlevel, to
  make it possible to use invoke-rc.d during boot (Closes: 384509).
* Make sure to call restorecon after mounting tmpfs file systems, to
  set SELinux permissions (Closes: #493679).  Patch from Russell
  Coker.
* Move responsibility of stopping the splash screen process from
  individual init.d scripts to init.d/rc.  This make sure the
  progress calculation reflect reality, and that the splash screen
  is taken down in runlevel 1 (Closes: #431560) and that it stop
  before gdm and kdm (Closes: #422922, #489734).
* Skip error message from checkfs.sh when / is read-only.  Patch
  from Mirek Slugen (Closes: #492214).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
#
3
 
# debian.postrm
4
 
#
5
 
# Version:      debian.postrm  2.85-3  23-Apr-2003  miquels@cistron.nl
6
 
#
 
3
# sysv-rc postrm
 
4
#
 
5
 
 
6
set -e
7
7
 
8
8
case "$1" in
9
 
        remove)
10
 
                ;;
11
 
        *)
12
 
                exit 0
13
 
                ;;
 
9
        remove) : ;;
 
10
        *) exit 0 ;;
14
11
esac
 
12
 
15
13
umask 022
16
14
 
17
 
set -e
18
 
 
19
15
ln -sf /usr/share/sysvinit/update-rc.d /usr/sbin/update-rc.d
20
16
ln -sf /usr/share/sysvinit/update-rc.d /usr/sbin/invoke-rc.d
21
17
 
 
18
exit 0