projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding casper 1.63+debian-3.
[live-boot-grml.git]
/
debian
/
init.d
diff --git
a/debian/init.d
b/debian/init.d
index
bed1b89
..
424c024
100644
(file)
--- a/
debian/init.d
+++ b/
debian/init.d
@@
-1,5
+1,10
@@
#! /bin/sh
#! /bin/sh
+# check for netboot
+if grep -qs netboot /proc/cmdline || grep -qsi root=/dev/nfs /proc/cmdline || grep -qsi root=/dev/cifs /proc/cmdline ; then
+ exit 0
+fi
+
grep -qs boot=casper /proc/cmdline || exit 0
# Try to cache everything we're likely to need after ejecting. This
grep -qs boot=casper /proc/cmdline || exit 0
# Try to cache everything we're likely to need after ejecting. This