-mkdir -p /etc/disorder
-cat > /etc/disorder/conf.debconf.new <<EOF
-# created automatically from debconf information
-# do not edit manually
-# run 'dpkg-reconfigure disorder' instead
-EOF
-echo >> /etc/disorder/conf.debconf.new
-echo "# Collection roots" >> /etc/disorder/conf.debconf.new
-for r in $roots; do
- echo "collection fs $encoding $r" >> /etc/disorder/conf.debconf.new
-done
-echo >> /etc/disorder/conf.debconf.new
-echo "# Scratches" >> /etc/disorder/conf.debconf.new
-for s in $scratches; do
- echo "scratch $s" >> /etc/disorder/conf.debconf.new
-done
-if test "$port" != none && test "$port" != ""; then
- echo >> /etc/disorder/conf.debconf.new
- echo "# Listen for remote clients" >> /etc/disorder/conf.debconf.new
- echo "listen 0.0.0.0 $port" >> /etc/disorder/conf.debconf.new
+if test "x$interface" = xnetwork; then
+ db_input high disorder/mcast_address || true
+ db_input high disorder/mcast_port || true
+ db_go || true