From e121ae93002757320027bb570c6cacba03649169 Mon Sep 17 00:00:00 2001 From: Benjamin Schieder Date: Mon, 19 Jun 2006 07:58:40 +0000 Subject: [PATCH] Benjamin Schieder: fix non-working "Back" button in stone_mod_dm.sh [2006061909025830571] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7668 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/device-mapper/etc_stone.d_mod_dm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/base/device-mapper/etc_stone.d_mod_dm.sh b/package/base/device-mapper/etc_stone.d_mod_dm.sh index cd4db2c30..518759cd7 100644 --- a/package/base/device-mapper/etc_stone.d_mod_dm.sh +++ b/package/base/device-mapper/etc_stone.d_mod_dm.sh @@ -65,15 +65,15 @@ dm_add () { grep -q $x /etc/conf/dm/mounts && continue cmd="$cmd '$x' 'device=$x'" done - eval "gui_menu dm_add1 'Please select the device to use' $cmd" + eval "gui_menu dm_add1 'Please select the device to use' $cmd" || return cmd="" - gui_input "Please enter mountpoint of $device" "/data" mountpoint + gui_input "Please enter mountpoint of $device" "/data" mountpoint || return gui_menu dm_add2 "Please enter current state of $device" \ "is encrypted" "status=encrypted" \ "Decrypt" "status=decrypt" \ "Encrypt" "status=encrypt" \ "Encrypted Swap (read documentation)" "status=swap" \ - "not encrypted" "status=plain" + "not encrypted" "status=plain" || return echo -e "$device\t$mountpoint\t$status" >>/etc/conf/dm/mounts }