| 1 |
#!/bin/bash |
| 2 |
# Debconf config script for icecast2 |
| 3 |
|
| 4 |
set -e |
| 5 |
|
| 6 |
. /usr/share/debconf/confmodule |
| 7 |
|
| 8 |
db_input high icecast2/icecast-setup || true |
| 9 |
db_go ||true |
| 10 |
|
| 11 |
db_get icecast2/icecast-setup |
| 12 |
if [ "$RET" = "true" ]; then |
| 13 |
db_input high icecast2/hostname || true |
| 14 |
db_go ||true |
| 15 |
db_input high icecast2/sourcepassword || true |
| 16 |
db_go ||true |
| 17 |
db_input high icecast2/relaypassword|| true |
| 18 |
db_go ||true |
| 19 |
db_input high icecast2/adminpassword || true |
| 20 |
db_go ||true |
| 21 |
fi |
| 22 |
|
| 23 |
#DEBHELPER# |
| 24 |
|
| 25 |
exit 0 |