2007-09-23 08:04:49 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2007-09-23 08:04:49 +00:00
|
|
|
# breakpoints.sh - run with breakpoints
|
2009-01-26 15:39:27 -01:00
|
|
|
# Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org>
|
2007-09-23 08:04:49 +00:00
|
|
|
#
|
|
|
|
# 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.
|
2007-09-23 08:04:49 +00:00
|
|
|
|
|
|
|
Breakpoint ()
|
|
|
|
{
|
2007-09-23 08:04:51 +00:00
|
|
|
NAME="${1}"
|
|
|
|
|
2008-11-01 13:10:34 -01:00
|
|
|
if [ "${_BREAKPOINTS}" = "enabled" ]
|
2007-09-23 08:04:49 +00:00
|
|
|
then
|
2008-08-11 20:28:54 +00:00
|
|
|
Echo_message "Waiting at %s" "${NAME}"
|
2007-11-13 07:00:16 -01:00
|
|
|
read WAIT
|
2007-09-23 08:04:49 +00:00
|
|
|
fi
|
|
|
|
}
|