summaryrefslogtreecommitdiff
path: root/functions/breakpoints.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/breakpoints.sh')
-rwxr-xr-xfunctions/breakpoints.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh
index 7dfc24cea..70e473818 100755
--- a/functions/breakpoints.sh
+++ b/functions/breakpoints.sh
@@ -1,8 +1,19 @@
#!/bin/sh
-# breakpoints.sh
+# breakpoints.sh - run with breakpoints
# Copyright (C) 2006-2007 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 ()
+{
+ if [ "${LH_BREAKPOINTS}" = "enabled" ]
+ then
+ BREAKPOINT="${1}"
+
+ Echo_message "Waiting at ${BREAKPOINT}"
+ read
+ fi
+}