implement password option for debconf/default
[debian/iodine.git] / debian / postinst
index a94e9d0ee366c2d84cbb1bcfa17a3575ba080b5e..d04bbdb49f6b2d2a949f63d3167d1a24f1fbd2c9 100644 (file)
@@ -32,11 +32,14 @@ case "$1" in
       START_IODINED=$RET
       db_get iodine/daemon_options
       IODINED_ARGS=$RET
+      db_get iodine/daemon_password
+      IODINED_PASSWORD=$RET
       cat <<EOF > /etc/default/iodine
 # Default settings for iodine. This file is sourced from
 # /etc/init.d/iodined
 START_IODINED="$START_IODINED"
 IODINED_ARGS="$IODINED_ARGS"
+IODINED_PASSWORD="$IODINED_PASSWORD"
 EOF
     ;;