[SCM] live-config branch, debian-next, updated. debian/3.0_a14-1-11-ga38fcce
Daniel Baumann
daniel at debian.org
Mon Dec 6 16:05:36 UTC 2010
The following commit has been merged in the debian-next branch:
commit a38fcce629209d86e2790a9cedd6d5047fa59deb
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Dec 6 17:05:10 2010 +0100
Using new cmdline variable in example script, rather than accessing /proc/cmdline.
diff --git a/examples/live-config-foobar/scripts/900-foobar b/examples/live-config-foobar/scripts/900-foobar
index 9f9104a..0997f4f 100755
--- a/examples/live-config-foobar/scripts/900-foobar
+++ b/examples/live-config-foobar/scripts/900-foobar
@@ -27,7 +27,7 @@ Foobar ()
fi
# ...or if you want to specify certain options:
- for _PARAMETER in $(cat /proc/cmdline)
+ for _PARAMETER in ${_CMDLINE}
do
case "${_PARAMETER}" in
live-config.foobar=*|foobar=*)
--
live-config
More information about the debian-live-changes
mailing list