File: hotplug.postrm

package info (click to toggle)
hotplug 0.0.20040329-26
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 480 kB
  • ctags: 22
  • sloc: sh: 652; makefile: 183
file content (19 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

case "$1" in
    purge)
	rm -f /etc/default/hotplug /etc/hotplug/.run/net.enable
	rmdir /etc/hotplug/.run/ /etc/hotplug/ 2> /dev/null || true
	rmdir /usr/local/lib/firmware/ 2> /dev/null || true
	;;

    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	;;

    *)
        echo "$0 called with unknown argument '$1'" >&2
        exit 0
esac

#DEBHELPER#