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>2007-09-23 10:04:49 +0200
commitbf396ae4b8d2380bb8024f8d794771a7f3b48fa2 (patch)
tree58272f72528cedb7af31ee6e6c2c0f7fbd602160 /functions/breakpoints.sh
parent8762edaa61a21de7708d6293287e9eb306716578 (diff)
downloadvyos-live-build-bf396ae4b8d2380bb8024f8d794771a7f3b48fa2.tar.gz
vyos-live-build-bf396ae4b8d2380bb8024f8d794771a7f3b48fa2.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
+}