summaryrefslogtreecommitdiff
path: root/functions/breakpoints.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/breakpoints.sh')
-rwxr-xr-xfunctions/breakpoints.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh
new file mode 100755
index 000000000..2f078e15f
--- /dev/null
+++ b/functions/breakpoints.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# breakpoints.sh - run with breakpoints
+# Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org>
+#
+# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
+# This is free software, and you are welcome to redistribute it
+# under certain conditions; see COPYING for details.
+
+Breakpoint ()
+{
+ NAME="${1}"
+
+ if [ "${_BREAKPOINTS}" = "enabled" ]
+ then
+ Echo_message "Waiting at %s" "${NAME}"
+ read WAIT
+ fi
+}