This file is indexed.

postinst is in scsitools 0.12-2.2ubuntu1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#!/bin/sh -e



if [ "$1" = "configure" ]; then
  test -d /dev/scsi || mkdir --mode=755 /dev/scsi
  # first part before activating swap & remounting / rw
  update-rc.d scsitools-pre.sh start 09 S . >/dev/null
  # second part after modutils was run but before mounting other devices
  update-rc.d scsitools.sh start 22 S . >/dev/null
fi