3cfe4d82fb
tinc (1.0.12-2) unstable; urgency=low * Remove debconf questions. Closes: #572116 Apparently debconf may not be used to ask a question at install time and use the answer at upgrade time. Instead of kludging around this restriction, no questions are asked anymore, and tinc will now always be restarted when upgrading. * Wait up to 5 seconds for tinc daemon to stop before restarting it.
9 lines
91 B
Bash
9 lines
91 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = purge ]; then
|
|
rm -f /etc/tinc/nets.boot
|
|
fi
|
|
|
|
#DEBHELPER#
|