mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-12-04 14:46:37 -05:00
15 lines
248 B
Plaintext
15 lines
248 B
Plaintext
|
#!/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" ]; then
|
||
|
update-inetd --remove "#<off># gopher"
|
||
|
fi
|
||
|
|