File: postinst

package info (click to toggle)
scsitools 0.12-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,192 kB
  • sloc: ansic: 6,043; tcl: 2,144; sh: 923; makefile: 97
file content (12 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

#DEBHELPER#

if [ "$1" = "configure" ]; then
  test -d /dev/scsi || mkdir --mode=755 /dev/scsi || true
  # 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