File: prerm

package info (click to toggle)
portmap 5-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 148 kB
  • ctags: 107
  • sloc: ansic: 1,006; makefile: 104; sh: 44
file content (8 lines) | stat: -rw-r--r-- 169 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh -e

if [ "$1" = "upgrade" ]; then
	# save portmap state; will be reread when portmap start is run
	pmap_dump >/var/run/portmap.upgrade-state
fi

##DEBHELPER##