freebsd-ports/net/igmpproxy/pkg-plist
Rene Ladan 8cc15b705e - Do not delete the configuration file on deinstall if it was modified [1]
- For the rc script: [2]
  - use /usr/sbin/daemon to start the rc script because igmpproxy does not
    daemonize itself
  - add shutdown keyword
  - cleanups
- Bump PORTREVISION [2]
PR:		ports/149547 [1], ports/150146 [2]
Submitted by:	Florian Smeets [flo kasimir.com] [1] [2]
Approved by:	maintainer timeout (11 weeks [1], 8 weeks [2])
2010-10-31 14:47:29 +00:00

4 lines
228 B
Text

sbin/igmpproxy
@unexec if cmp -s %D/etc/igmpproxy.conf.sample %D/etc/igmpproxy.conf; then rm -f %D/etc/igmpproxy.conf; fi
etc/igmpproxy.conf.sample
@exec if [ ! -f %D/etc/igmpproxy.conf ]; then cp -p %D/%F %B/igmpproxy.conf; fi