mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-10-27 05:20:18 -04:00
15 lines
287 B
Bash
Executable File
15 lines
287 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Source debconf library
|
|
. /usr/share/debconf/confmodule
|
|
|
|
# Ask for a hostname
|
|
db_input high gophernicus/fqdn || true
|
|
db_go
|
|
|
|
# Clear old config on reconfigure
|
|
if [ "$1" = "reconfigure" -a -x /usr/sbin/update-inetd ]; then
|
|
/usr/sbin/update-inetd --remove "#<off># gopher"
|
|
fi
|
|
|