/trunk/debian/lsh-server.postinst |
---|
95,6 → 95,7 |
db_get "lsh-server/lshd_port"; LSHD_PORT="$RET" |
db_get "lsh-server/sftp"; ENABLE_SFTP="$RET" |
db_get "lsh-server/extra_args"; EXTRA_ARGS="$RET" |
exec 3>&- |
# OK, now make the config file |
108,6 → 109,7 |
echo "LSHD_PORT=\"$LSHD_PORT\"" >>"$LSHD_DEFAULTS" |
echo "ENABLE_SFTP=\"$ENABLE_SFTP\"" >> "$LSHD_DEFAULTS" |
echo "EXTRA_ARGS=\"$EXTRA_ARGS\"" >> "$LSHD_DEFAULTS" |
# Versions before 2.0.1cdbs-4 have a security issue, therefore |
# have the random seed regenerated. |