Skip to content

Commit

Permalink
Clarify console messaging
Browse files Browse the repository at this point in the history
Updated console message for logical volume and corrected typo in help message
  • Loading branch information
iczerjones authored Dec 3, 2021
1 parent 4b22542 commit 68c275e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_install/files/autolvm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ setlvm(){
read -p "Logical volume name: [Type 'x' to skip]: " lvtarget
if [[ -z $lvtarget ]]; then
echo ""; sleep 1
echo "Please input a volume group to target, or type 'x' to skip and exit"; echo ""
echo "Please input a volume to target, or type 'x' to skip and exit"; echo ""
elif [[ $lvtarget == "x" ]]; then
echo "Logical volume skipped, setting volume group.."
echo 'ACTION=="add", KERNEL=="vd*[!0-9]". RUN+="/usr/sbin/autolvm ${vgtarget}"' > $udevrule
Expand Down Expand Up @@ -133,7 +133,7 @@ listcfg(){
# Help dialog
if [[ $1 == "--help" ]] || [[ $1 == "-h" ]] || [[ $1 == "?" ]]; then
echo ""
echo " To set target volume grouo or logical volume (both optional): "
echo " To set target volume group or logical volume (both optional): "
echo ""; echo " autolvm [volgroup] [logicalvol] "
echo ""; echo " ex. 'autolvm VG_1 LV_1' "
echo ""; echo " For this help menu: "
Expand Down

0 comments on commit 68c275e

Please sign in to comment.