File: initrd-tools.postinst

package info (click to toggle)
initrd-tools 0.1.84.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 156 kB
  • ctags: 32
  • sloc: sh: 1,698; makefile: 45
file content (12 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = configure ]; then
	if [ -n "$2" ] && dpkg --compare-versions "$2" lt 0.1.22; then
		update-modules
	fi
	update-rc.d initrd-tools.sh start 05 S . > /dev/null
fi

#DEBHELPER#