projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4a3b6c
)
Improve look and feel inside config_debootstrap()
0.6.37
author
Michael Prokop
<mika@grml.org>
Mon, 16 Apr 2007 18:08:22 +0000
(20:08 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 16 Apr 2007 18:08:22 +0000
(20:08 +0200)
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
11dd166
..
4a9238a
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-2153,9
+2153,10
@@
if stringinstring "BOOT_IMAGE=debian2hd " "$CMDLINE" ; then
einfo "Bootoption debian2hd found. Setting up environment for automatic installation via grml-debootstrap." ; eend 0
if ! [ -x /usr/sbin/grml-debootstrap ] ; then
einfo "Bootoption debian2hd found. Setting up environment for automatic installation via grml-debootstrap." ; eend 0
if ! [ -x /usr/sbin/grml-debootstrap ] ; then
+ eindent
eerror "Bootoption debian2hd found, but grml-debootstrap is not available." ; eend 1
eerror "Bootoption debian2hd found, but grml-debootstrap is not available." ; eend 1
- e
error "Dropping you to a shell, just exit it to continue booting." ; eend 1
- /bin/zsh
+ e
outdent
+ exit 1
fi
if checkbootparam "partition" ; then
fi
if checkbootparam "partition" ; then
@@
-2167,8
+2168,10
@@
if checkbootparam "partition" ; then
eerror "Partition $PARTITION does not exist. Skipping execution of grml-debootstrap therefore." ; eend 1
fi
else
eerror "Partition $PARTITION does not exist. Skipping execution of grml-debootstrap therefore." ; eend 1
fi
else
+ eindent
eerror "No bootoption partition found, can not continue execution of grml-debootstrap." ; eend 1
eerror "No bootoption partition found, can not continue execution of grml-debootstrap." ; eend 1
- exit 0
+ eoutdent
+ exit 1
fi
if checkbootparam "grub" ; then
fi
if checkbootparam "grub" ; then