summaryrefslogtreecommitdiff
path: root/functions/breakpoints.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:49 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commit1863ed88740575342008ac5f694d03e944bcece2 (patch)
tree58272f72528cedb7af31ee6e6c2c0f7fbd602160 /functions/breakpoints.sh
parentda353a5231ad925013d01065768864307c70651a (diff)
downloadvyos-live-build-1863ed88740575342008ac5f694d03e944bcece2.tar.gz
vyos-live-build-1863ed88740575342008ac5f694d03e944bcece2.zip
Adding live-helper 1.0~a5-1.
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
+}