File: sysfsutils.postinst

package info (click to toggle)
sysfsutils 2.1.0%2Brepack-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,180 kB
  • sloc: sh: 8,705; ansic: 8,026; makefile: 43
file content (23 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

case "$1" in
configure)
  # Remove leftover stop symlinks from /etc/rc[016].d/. These used to be
  # installed some time ago, this was stopped, but these were never cleaned up.
  for i in 0 1 6 ; do
    [ -f /etc/rc$i.d/K*sysfsutils ] && rm /etc/rc$i.d/K*sysfsutils
  done
  ;;
abort-upgrade|abort-remove|abort-deconfigure)
  ;;
*)
  echo "postinst called with unknown argument '$1'" >&2
  exit 1
  ;;
esac

#DEBHELPER#

exit 0