diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 16:48:21 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 16:48:21 +0100 |
commit | 3a83b4a425da8004a148a795330c4fc10a99df84 (patch) | |
tree | 507d9accb61fa3514d28a1b49d4b724a7fd6d08b | |
parent | 2393a6f6502d6e2f35c04c9acd8e64d66cbcc9c5 (diff) |
be friendly to newbies :)
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index e2932db..fb2f719 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -26,7 +26,9 @@ interactive_configure_system() while true; do DEFAULT=no [ -n "$FILE" ] && DEFAULT="$FILE" - ask_option $DEFAULT "Configuration" '' \ + helptext= + grep -q '^/dev/mapper' $TMP_FSTAB && helptext="Don't forget to add the appropriate modules for your /dev/mapper devices to mkinitcpio.conf" #TODO: we can improve this a bit + ask_option $DEFAULT "Configuration" "$helptext" \ "/etc/rc.conf" "System Config" \ "/etc/fstab" "Filesystem Mountpoints" \ "/etc/mkinitcpio.conf" "Initramfs Config" \ |