projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a bunch of typos
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
files
/
usr
/
share
/
initramfs-tools
/
scripts
/
init-top
/
grml
/
GRMLBASE
diff --git
a/etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE
b/etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE
index
e8ccac6
..
ce17ae1
100755
(executable)
--- a/
etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE
+++ b/
etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE
@@
-14,7
+14,7
@@
# prereq header {{{
# without this header booting will fail with:
# prereq header {{{
# without this header booting will fail with:
-# "PANIC: Circular depend
a
ncy. Exiting."
+# "PANIC: Circular depend
e
ncy. Exiting."
PREREQ=""
prereqs()
{
PREREQ=""
prereqs()
{
@@
-90,7
+90,7
@@
else
GREEN="
\e
[1;32m"
# YELLOW: Descriptions
YELLOW="
\e
[1;33m"
GREEN="
\e
[1;32m"
# YELLOW: Descriptions
YELLOW="
\e
[1;33m"
- # BLUE: System mesages
+ # BLUE: System mes
s
ages
BLUE="
\e
[1;34m"
# MAGENTA: Found devices or drivers
MAGENTA="
\e
[1;35m"
BLUE="
\e
[1;34m"
# MAGENTA: Found devices or drivers
MAGENTA="
\e
[1;35m"
@@
-174,6
+174,11
@@
fi
if grep -q 'boot=live' /proc/cmdline 2>/dev/null ; then
log_grml_begin_msg "Finished early booting sequence." ; echo "$SUCCESS"
if grep -q 'boot=live' /proc/cmdline 2>/dev/null ; then
log_grml_begin_msg "Finished early booting sequence." ; echo "$SUCCESS"
+ #(256-16)*1024=245760
+ if [ "$(awk '/MemTotal/{print $2}' /proc/meminfo)" -lt 245760 ] ; then
+ log_grml_failure_msg "Warning: less than 256MB RAM, boot may fail"
+ echo
+ fi
log_grml_begin_msg "Searching for GRML file, this might take a few seconds..."
echo
fi
log_grml_begin_msg "Searching for GRML file, this might take a few seconds..."
echo
fi