Index: scripts/_functions_ =================================================================== diff -u -r79a9b03991667bd9cc032f95fd72cac513554c74 -rd7f50f80fd770b2131d168685924ed75d99f568d --- scripts/_functions_ (.../_functions_) (revision 79a9b03991667bd9cc032f95fd72cac513554c74) +++ scripts/_functions_ (.../_functions_) (revision d7f50f80fd770b2131d168685924ed75d99f568d) @@ -28,6 +28,7 @@ # sources . ./_errors_ +. ./_variables_ # functions @@ -174,3 +175,22 @@ "$ERR_CMDFAIL_USB_FOLDER_REMOVE" ) echo "usb mount point '$2' cannot be removed." ;; esac } + +echo_dash_comment() { + echo "$COMMENT_DASH"" $1 " +} + +echo_dash_message() { + echo " $1" +} + +function confirm() { + read -p "$1? [y,n]" -n 1 -r CONTINUE + if [ "$CONTINUE" == "y" ]; then + echo "" + return $TRUE + else + echo "" + return $FALSE + fi +}