[SCM] live-config branch, debian-next, updated. debian/3.0_a14-1-16-g39cf2e5
Daniel Baumann
daniel at debian.org
Sat Dec 11 12:40:03 UTC 2010
The following commit has been merged in the debian-next branch:
commit 39cf2e5c4301df2022d91a791399ffb7a42ea8af
Author: Daniel Baumann <daniel at debian.org>
Date: Sat Dec 11 13:39:57 2010 +0100
Using cmdline variable rather than parsing /proc/cmdline in when handing boot parameters in example script.
diff --git a/examples/live-config-foobar/scripts/900-foobar b/examples/live-config-foobar/scripts/900-foobar
index 0997f4f..a164c43 100755
--- a/examples/live-config-foobar/scripts/900-foobar
+++ b/examples/live-config-foobar/scripts/900-foobar
@@ -20,8 +20,8 @@ Foobar ()
echo -n " foobar"
# Boot parameters can be acted up either this way...
- if ! grep -qs "live-config.foobar" /proc/cmdline && \
- ! grep -qs "foobar" /proc/cmdline
+ if ! echo ${_CMDLINE} | grep -qs "live-config.foobar" && \
+ ! echo ${_CMDLINE} | grep -qs "foobar"
then
return
fi
--
live-config
More information about the debian-live-changes
mailing list