File: prerm

package info (click to toggle)
tinc 1.0pre7-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,084 kB
  • ctags: 1,488
  • sloc: ansic: 13,459; sh: 3,464; makefile: 359; yacc: 318; perl: 232
file content (18 lines) | stat: -rw-r--r-- 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# Automatically added by dh_installinit, edited for use with debconf
if [ -x "/etc/init.d/tinc" ]; then
    if [ -e /usr/share/debconf/confmodule ] ; then
	. /usr/share/debconf/confmodule
	db_get tinc/restart_on_upgrade
	if [ "$RET" = "true" ] ; then
	    /etc/init.d/tinc stop
	fi
	db_stop
    else
	/etc/init.d/tinc stop
    fi
fi
# End automatically added section

#DEBHELPER#