Files
i2p.i2p/debian/i2p.config

23 lines
388 B
Bash
Executable File

#!/bin/sh -e
# I2P package configuration script
conffile="/etc/default/i2p"
. /usr/share/debconf/confmodule
# Load config file if it exists
if [ -e $conffile ]; then
. $conffile
db_set i2p/daemon "$RUN_DAEMON"
db_set i2p/user "$I2PUSER"
fi
db_input medium i2p/daemon || true
db_go
db_get i2p/daemon || true
if [ "$RET" = "true" ]; then
db_input medium i2p/user || true
db_go
fi