私の質問のデフォルトは現在のユーザーのホームディレクトリにありたいです。
文書templates
Template: filesystem/root_path
Default: /home/${logname}/00_Files
Type: string
Description: The default directory to use when creating a new file.
文書config
#!/bin/bash
CONFIGFILE=/etc/filesystem.conf
set -e
. /usr/share/debconf/confmodule
db_subst filesystem/root_path logname "$(logname)"
# Load config file, if it exists.
if [ -e "$CONFIGFILE" ]; then
. "$CONFIGFILE" || true
# Store values from config file into
# debconf db.
db_set filesystem/root_path "$ROOT_PATH" || true
fi
# Ask questions.
db_input high filesystem/root_path || true
db_go || true
ただし、ダイアログボックスが作成されても/home/${logname}/00_Files
値は変わりません。
また、debconfのフロントエンドをどのように変更しますか?