File: postrm

package info (click to toggle)
modutils 2.3.11-13.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,156 kB
  • ctags: 1,038
  • sloc: ansic: 10,567; sh: 2,120; lex: 484; makefile: 479; yacc: 362
file content (11 lines) | stat: -rw-r--r-- 181 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# post remove script for the Debian GNU/Linux modutils package

set -e

if [ "$1" = "purge" ]; then
  update-rc.d kerneld remove >/dev/null
  rm -f /etc/modules.conf
fi